|
XenevaOS
|
#include <proctoken.h>#include <_null.h>#include <aucon.h>#include <process.h>#include <Hal/AA64/sched.h>#include <Drivers/uart.h>
Functions | |
| void | AuProcessTokenInitialize () |
| AuProcessTokenInitialize – initialize token manager. | |
| char * | _token_id_to_string (uint8_t category) |
| _token_id_to_strong –return the string value | |
| int | AuProcessTokenAddSelf (uint8_t category) |
| AuProcess * | AuProcessTokenGetProc (uint8_t category) |
| AuProcessTokenGetProc – get a process from token entry. | |
| int | AuProcessTokenGetThreadID (uint8_t category) |
| AuProcessTokenGetThreadID – get the thread id of a slot. | |
| int | AuProcessTokenRemoveSelf (uint8_t category) |
| AuProcessTokenRemoveSelf – remove self from a token. | |
Variables | |
| AuProcessToken | _tokens [AURORA_MAX_PROC_TOKEN] |
| char * _token_id_to_string | ( | uint8_t | category | ) |
_token_id_to_strong –return the string value
| int AuProcessTokenAddSelf | ( | uint8_t | category | ) |
AuProcessTokenAddSelf – add current process to its belonging category
| category | – category to look |
AuProcessTokenGetProc – get a process from token entry.
| category | – category to look |
| int AuProcessTokenGetThreadID | ( | uint8_t | category | ) |
AuProcessTokenGetThreadID – get the thread id of a slot.
| void AuProcessTokenInitialize | ( | ) |
AuProcessTokenInitialize – initialize token manager.
| int AuProcessTokenRemoveSelf | ( | uint8_t | category | ) |
AuProcessTokenRemoveSelf – remove self from a token.
| category | – category to free |
| AuProcessToken _tokens[AURORA_MAX_PROC_TOKEN] |