|
NeKernel dev
|
Functions | |
| DDK_EXTERN | ATTRIBUTE (naked) |
| this is an internal call, do not use it. | |
| DDK_EXTERN void * | ke_call_dispatch (const char *name, int32_t cnt, void *data, size_t sz) |
| Interrupt Kernel and call it's RPC. | |
| DDK_EXTERN void | ke_set_syscall (const int slot, void(*slotFn)(void *a0)) |
| Add system call. | |
| DDK_EXTERN struct DDK_OBJECT_MANIFEST * | ke_get_obj (const int slot, const char *name) |
| Get a Kernel object. | |
| DDK_EXTERN void * | ke_set_obj (const int slot, const struct DDK_OBJECT_MANIFEST *ddk_pr) |
| Set a Kernel object. | |
| DDK_EXTERN ATTRIBUTE | ( | naked | ) |
this is an internal call, do not use it.
This function hashes the path into a FNV symbol.
| path | the path to hash. |
| 0 | symbol wasn't hashed. |
| > | 0 hashed symbol. |
| DDK_EXTERN void * ke_call_dispatch | ( | const char * | name, |
| int32_t | cnt, | ||
| void * | data, | ||
| size_t | sz ) |
| DDK_EXTERN struct DDK_OBJECT_MANIFEST * ke_get_obj | ( | const int | slot, |
| const char * | name ) |
| DDK_EXTERN void * ke_set_obj | ( | const int | slot, |
| const struct DDK_OBJECT_MANIFEST * | ddk_pr ) |
Set a Kernel object.
| slot | property id (always 0) |
| name | the object's name. |
| ddk_pr | pointer to a object's DDK_OBJECT_MANIFEST. |
| DDK_EXTERN void ke_set_syscall | ( | const int | slot, |
| void(* | slotFn )(void *a0) ) |
Add system call.
| slot | system call slot |
| slotFn,syscall | slot. |