POK(kernelpart)
|
Provides generic architecture interface for x86 architecture. More...
Go to the source code of this file.
Functions | |
pok_ret_t | pok_arch_init () |
pok_ret_t | pok_arch_preempt_disable () |
pok_ret_t | pok_arch_preempt_enable () |
pok_ret_t | pok_arch_idle () |
pok_ret_t | pok_arch_event_register (uint8_t vector, void(*handler)(void)) |
uint32_t | pok_thread_stack_addr (const uint8_t partition_id, const uint32_t local_thread_id) |
Provides generic architecture interface for x86 architecture.
Definition in file arch.c.
Register an event (for example, an interruption)
Attach the handler to the given trap number (vector).
Definition at line 60 of file arch.c.
pok_ret_t pok_arch_idle | ( | ) |
Function that do nothing. Useful for the idle task for example.
pok_ret_t pok_arch_init | ( | ) |
Function that initializes architecture concerns.
Initialize all SPARC managers (traps, syscalls, space).
pok_ret_t pok_arch_preempt_disable | ( | ) |
pok_ret_t pok_arch_preempt_enable | ( | ) |
Returns the stack address for a the thread number N in a partition.
Compute the stack adress for the given thread.
Definition at line 72 of file arch.c.