|
XenevaOS
|

Macros | |
| #define | USER_LD(dstreg, uptr, faillabel) |
| #define | USER_ST(srcreg, uptr, faillabel) |
| #define | USER_MAX 0x0001000000000000 |
Functions | |
| __attribute__ ((section(".rdata$exA"))) | |
| __attribute__ ((section(".rdata$exZ"))) | |
| uint64_t | __search_fixup_table (uint64_t fault_pc) |
| __search_fixup_table – searches alternative address to jump when kernel hits data abort exception | |
| bool | _validate_upointer_range (const void *p, size_t n) |
| long | __bordoisila_copy_from_user (void *dst, const void *usrc, size_t n) |
| __bordoisila_copy_from_user – copy data from user to kernel memory | |
| long | __bordoisila_copy_to_user (void *udst, const void *src, size_t n) |
| __bordoisila_copy_to_user – copy to user memory from kernel memory | |
| void | __bordoisila_fixup_table_check () |
| __bordoisila_fixup_table_check – could be called during kernel initialization to check fixup addresses | |
| #define USER_LD | ( | dstreg, | |
| uptr, | |||
| faillabel | |||
| ) |
| #define USER_MAX 0x0001000000000000 |
| #define USER_ST | ( | srcreg, | |
| uptr, | |||
| faillabel | |||
| ) |
| __attribute__ | ( | (section(".rdata$exA")) | ) |
| __attribute__ | ( | (section(".rdata$exZ")) | ) |
| long __bordoisila_copy_from_user | ( | void * | dst, |
| const void * | usrc, | ||
| size_t | n | ||
| ) |
__bordoisila_copy_from_user – copy data from user to kernel memory
| dst | – destination kernel memory |
| usrc | – user source memory |
| n | – number of bytes to copy |
| long __bordoisila_copy_to_user | ( | void * | udst, |
| const void * | src, | ||
| size_t | n | ||
| ) |
__bordoisila_copy_to_user – copy to user memory from kernel memory
| udst | – user space destination memory |
| src | – kernel source memory |
| n | – number of bytes to copy |
| void __bordoisila_fixup_table_check | ( | ) |
__bordoisila_fixup_table_check – could be called during kernel initialization to check fixup addresses
__search_fixup_table – searches alternative address to jump when kernel hits data abort exception
| fault_pc | – faulting instruction pointer |