Native CPU specific code
The native CPU uses system calls to simulate hardware access.
CPU abstraction for the native port
- Author
- Ludwig Knüpfer ludwi.nosp@m.g.kn.nosp@m.uepfe.nosp@m.r@fu.nosp@m.-berl.nosp@m.in.d.nosp@m.e
|
static uintptr_t | cpu_get_caller_pc (void) |
| Gets the address the callee will return to.
|
|
typedef void(* | _native_callback_t) (void) |
| Prototype for native's internal callbacks.
|
|
int | register_interrupt (int sig, _native_callback_t handler) |
| register interrupt handler handler for interrupt sig
|
|
int | unregister_interrupt (int sig) |
| unregister interrupt handler for interrupt sig
|
|
◆ CPU_HAS_UNALIGNED_ACCESS
#define CPU_HAS_UNALIGNED_ACCESS |
The CPU supports unaligned memory access.
Even if the underlying architecture does not support it, the kernel will take care of it.
Definition at line 35 of file cpu.h.
◆ _native_callback_t
typedef void(* _native_callback_t) (void) |
◆ cpu_get_caller_pc()
static uintptr_t cpu_get_caller_pc |
( |
void | | ) |
|
|
inlinestatic |
Gets the address the callee will return to.
Definition at line 40 of file cpu.h.