Need help programming the AIX kernel
2 answers
I haven't had to deal with the AIX kernel for a while, but it has its own way of doing things. Have you encountered Writing AIX Kernel Extensions in your research? I believe that some of your questions could be addressed there.
0
a source to share
AIX uses svc_table_entry as the corresponding concept of the sys_call_table [] entry:
struct svc_table_entry {
int (*svc)(); /* Pointer to kernel function for */
/* this system call. */
};
The bootloader will calculate the number of system calls and dynamically build a "system call" table on the kernel heap via xmalloc. As for the name of this table, I believe it is something like "svc" or "svc64", I don't quite remember.
0
a source to share