|
Initialize the system |
|
|
Describes initialization processes to be executed before static constructor calls. |
| Summary | Introduction to resetting the system. |
| OS_InitReset |
Initialize the system. |
|
Re-executes the program. |
|
|
Obtains the reset parameter value. |
|
Describes the system state functions |
|
|
Enable CPSR IRQ interrupts |
|
|
Disable CPSR IRQ interrupts |
|
|
Put CPSR IRQ interrupts into designated state |
|
|
Enables IRQ, FIQ interrupts in CPSR |
|
|
Prohibits IRQ, FIQ interrupts in CPSR |
|
|
Sets IRQ, FIQ interrupts in CPSR to a specified status. |
|
|
Obtain current CPSR IRQ and FIQ interrupts |
|
|
Obtain current processor mode |
|
|
Sets the processor to HALT condition |
|
|
Sets the processor to HALT status and loops. |
|
|
Sets the processor to idle |
|
Describes DTCM, ITCM |
|
|
Enables instruction TCM. |
|
|
Disables instruction TCM. |
|
|
Enables data TCM. |
|
|
Disables data TCM. |
|
|
Sets instruction TCM parameters. |
|
|
Obtains instruction TCM parameters. |
|
|
Sets data TCM parameters. |
|
|
Obtains the data TCM parameters. |
|
|
Sets the data TCM address. |
|
|
Obtains the data TCM address. |
|
Describes protection unit settings |
|
|
Enables the protection unit. |
|
|
Disables the protection unit. |
|
|
Sets the protection region. |
|
|
Sets the protection region with parameter specification. |
|
|
Obtains the base address of the protection region setting. |
|
|
Obtains the region size of the protection region setting. |
|
|
Obtains the setting parameters of the protection region. |
|
Describes the exception display system |
|
|
Initializes the exception display system. |
|
|
Sets the user handler to be used when an exception is generated. |
|
|
Sets the exception vector position as a normalized address |
|
|
Sets the exception vector position as a high vector. |
|
Describes IRQ interrupts |
|
|
Enables all IRQ interrupts. |
|
|
Disables all IRQ interrupts. |
|
|
Puts all interrupts into designated state. |
|
|
Sets IRQ interrupt parameters. |
|
|
Obtains currently established IRQ interrupt parameters. |
|
|
Enables IRQ of designated interrupt parameters. |
|
|
Disables IRQ of designated interrupt parameters. |
|
|
Releases the interrupt request's designated interrupt parameters. |
|
|
Obtains current interrupt request state. |
|
|
Initializes IRQ handler table. |
|
|
Sets handler corresponding to designated IRQ. |
|
|
Obtains handler corresponding to designated IRQ. |
|
|
Sets the interrupt check flag. |
|
|
Clears the interrupt check flag. |
|
|
Obtains the interrupt check flag. |
|
|
Waits for the specified IRQ. |
|
|
Waits for all IRQ. |
|
|
Waits for the specified IRQ (a thread switch is not done). |
|
|
Obtains the value of the V blank counter. |
|
Describes timers |
|
|
Set timer and start. The counter value is 16-bit. |
|
|
Using two timers, start the 32-bit long timer |
|
|
Using three timers, start the 48-bit long timer |
|
|
Using four timers, start the 64-bit long timer |
|
|
Stops the timer. The count value is 16 bits. |
|
|
Stops the two timers. Used when the 32-bit timer is being used. |
|
|
Stops the three timers. Used when the 48-bit timer is being used. |
|
|
Stops the four timers. Used when the 64-bit timer is being used. |
|
Describes the alarm system |
|
|
Allocates a timer for an alarm system and initializes. |
|
|
Frees a timer that was allocated to an alarm system. |
|
|
Checks whether an alarm system is initialized and available. |
|
|
Initializes an alarm structure. |
|
|
Sets an alarm. |
|
|
Sets a periodic alarm. |
|
|
Sets a tag to an alarm. |
|
|
Cancels an alarm. |
|
|
Cancels alarms that have a specified tag. |
|
|
Cancels all alarms. |
| Summary | Introduction to V-Count alarm operation. |
|
Initializes a V-count alarm system. |
|
|
Ends a V-count alarm system. |
|
|
Checks whether a V-count alarm system is initialized and available. |
|
|
Initializes a V-count alarm structure. |
|
|
Sets a V-count alarm. |
|
| OS_SetOneTimeVAlarm | Sets a V-Count alarm. (Function added to maintain backwards-compatibility.) |
|
Sets a periodic V-count alarm. |
|
|
Sets a tag to a V-count alarm. |
|
|
Cancels a V-count alarm. |
|
|
Cancels V-count alarms that have a specified tag. |
|
|
Cancels all V-count alarms. |
|
Describes the tick system |
|
|
Allocates a timer for ticks. |
|
|
Checks whether a tick is initialized and available. |
|
|
Acquires a tick value. |
|
|
Acquires the lower order 16-bit value of a tick value. |
|
|
Sets a tick value. |
|
|
Converts from microseconds to a tick value. |
|
|
Converts from milliseconds to a tick value. |
|
|
Converts from seconds to a tick value. |
|
|
Converts from a tick value to microseconds. |
|
|
Converts from a tick value to milliseconds. |
|
|
Converts from a tick value to seconds. |
|
Describes the thread system |
|
|
Initialize thread system |
|
|
initialized and is available. |
|
|
Create thread |
|
|
Create thread queue |
|
|
Exit thread |
|
| OS_JoinThread | Bounds threads and waits for completion. |
| OS_IsThreadTerminated | Obtains whether the thread has completed. |
|
Select the next thread to be operated |
|
|
Sets the callback during thread switch. |
|
|
Conduct thread scheduling |
|
|
Put thread into sleep state |
|
|
Set threads to sleep status for a prescribed time. |
|
|
Put thread into an operable state |
|
|
Put thread into an operable state |
|
|
Sets thread priority. |
|
|
Obtains thread priority. |
|
|
Obtains the current thread. |
|
|
Obtains the number of threads being created. |
|
|
Display all threads (for debug). |
|
Describes Mutex |
|
|
Initialize Mutex structure used for exclusive control |
|
|
Lock thread using Mutex |
|
|
Unlock the thread locked with Mutex |
|
|
Attempt to lock the thread locked with Mutex |
|
|
Describes exclusive control using spinLock |
|
| OS_LockCard | Spin locks the card for exclusive control |
| OS_LockCartridge | Spin locks the Game Pak for exclusive control |
| OS_UnlockCard | Release a spin lock for the card |
| OS_UnlockCartridge | Release a spin lock for the Game Pak |
| OS_TryLockCard | Attempts to spin lock the card for exclusive control |
| OS_TryLockCartridge | Attempts to spin lock the Game Pak for exclusive control |
| OS_GetLockID | Obtains the lock ID for spin lock |
| OS_ReleaseLockID | Releases the lock ID used for spin lock |
|
Describes context |
|
|
Initialize context |
|
|
Save current context |
|
|
Load current context |
|
|
Display contents of context structure (for debug) |
|
Describes the message system |
|
|
Initialize message queue structure |
|
|
Insert message at end of message queue |
|
|
Inserts a message in the front of the message queue |
|
|
Extract message from message queue |
|
|
Copies the message that is at the front of the message queue. |
|
Permits all data cache to be used. |
|
|
Prohibits all data cache from being used. |
|
|
Selects whether to permit or prohibit use of all data cache. |
|
|
Disables all data cache. |
|
|
Cleans all data cache. |
|
|
Cleans and then disables all data cache. |
|
|
Disables specified range of data cache. |
|
|
Cleans specified range of data cache. |
|
|
Cleans and then disables specified range of data cache. |
|
|
Loads specified range of data cache into cache. |
|
|
Locks down specified range of data cache. |
|
|
Waits for the write buffer to empty. |
|
|
Permits all instruction cache to be used. |
|
|
Prohibits all instruction cache from being used. |
|
|
Selects whether to permit or prohibit use of all instruction cache. |
|
|
Disables all instruction cache. |
|
|
Disables specified range of instruction cache |
|
|
Pre-fetches specified range of instruction cache |
|
|
Locks down specified range of instruction cache |
| Summary | Introduction to Arenas. |
|
Initializes the arena. |
|
|
Sets the upper boundary of the arena. |
|
|
Sets the upper boundary of the arena (arena specification). |
|
|
Sets the lower boundary of the arena. |
|
|
Sets the lower boundary of the arena (arena specification). |
|
|
Gets the upper boundary of the arena. |
|
|
Gets the upper boundary of the arena (arena specification). |
|
|
Gets the lower boundary of the arena. |
|
|
Gets the lower boundary of the arena (arena specification). |
|
|
Allocates a region of specified size from the upper arena. |
|
|
Allocates a region of specified size from the upper arena (arena specification). |
|
|
Allocates a region of specified size from the lower arena. |
|
|
Allocates a region of specified size from the lower arena (arena specification). |
| Summary | Introduction to the Memory Allocation System. |
|
Initializes the memory allocation system. |
|
|
Destroys the memory allocation system information. |
|
|
Creates a heap. |
|
|
Destroys a heap. |
|
|
Initializes a heap |
|
|
Adds the specified memory block to the heap. |
|
|
Sets the current heap. |
|
|
Allocate memory from the heap region. |
|
|
Allocate memory from the heap region (arena specification). |
|
|
Allocate memory from the heap region (main memory arena) |
|
|
Allocate the specified region. |
|
|
Free memory to the heap region. |
|
|
Free memory to the heap region (arena specification). |
|
|
Free memory to the heap region (main memory arena). |
|
|
Frees all allocated memory to the heap region. |
|
|
Frees all allocated memory to the heap region. (arena specification) |
|
|
Frees all allocated memory to the heap region. (main memory arena) |
|
|
Checks heap. |
|
|
Displays heap contents (for debug). |
|
|
Gets the size in memory of the memory block (excluding the header). |
|
|
Applies the specified function to all memory blocks. |
|
|
Gets the total size of memory blocks allocated to heaps. |
|
|
Gets total size of free blocks in heaps. |
|
|
Gets the size of the largest free block in the heaps. |
|
Obtains the owner information. |
|
|
Structure that indicates the owner information. |
|
|
Obtains the RTC modification offset information. |
|
|
Obtains the MAC address that is unique to each Nintendo DS system. |
|
| OS_GetFavoriteColorTable | Gets pointer to "favorite color" owner information. |
| OS_GetFavoriteColor | Gets color value of "favorite color" owner information. |
| OS_FAVORITE_COLOR_* | Definition value of "favorite color" owner information. |
|
Checks if the program is running on ensata. |
|
|
Checks the operation environment of the program. |
|
Displays the character string. |
|
|
Displays the character string with formatting. |
|
|
Displays the character string with formatting. This is a simplified version of |
|
|
Displays the character string with formatting. Uses the list of arguments. |
|
|
Displays the character string with formatting. This is a simplified version of |
|
|
Outputs the formatted character string to the memory with variable arguments. |
|
|
Outputs the formatted character string to the memory with the argument list. |
|
|
Outputs the formatted character string to the memory with variable arguments (the size is specified). |
|
|
Outputs the formatted character string to the memory with the argument list (the size is specified). |
|
|
Displays a warning. |
|
|
Displays a warning. This is a simplified version of |
|
Checks the requirements, displays a warning, and stops the program. |
|
|
Checks the requirements and displays a warning |
|
|
Stops the program. |
|
|
Stops the execution of the program. This is a simplified version of |
|
Sets the buffer of the function call trace. |
|
|
Displays the contents of the function call trace buffer. |
|
|
Displays the contents of the function call trace buffer for the specified thread. |
|
|
Calculates the number of lines for the function call trace from the buffer size. |
|
|
Calculates the buffer size for the function call trace from the number of lines. |
|
|
Clears the contents of the function call trace buffer. |
|
|
Enables the features of the function call trace. |
|
|
Disables the features of the function call trace. |
|
|
Sets the function call trace features to enabled or disabled. |
|
Sets the function cost measurement buffer. |
|
|
Calculates the amount of information for the function cost measurement from the buffer size. |
|
|
Calculates the buffer size for the function cost measurement from the number of lines. |
|
|
Clears the contents of the function cost measurement buffer. |
|
|
Enables the features of the function cost measurement. |
|
|
Disables the features of the function cost measurement. |
|
|
Sets the features of the function cost measurement to enabled or disabled. |
|
|
Initializes the function cost calculation buffer. |
|
|
Calculates the contents of the measurement buffer to the function cost calculation buffer. |
|
|
Calculates the contents of the measurement buffer to the function cost calculation buffer with a thread specification. |
|
|
Outputs the contents of the function cost calculation buffer. |
|
Sets the warning level for the thread stack overflow check. |
|
|
Checks the thread stack overflow. |
|
|
Obtains the stack overflow status of the thread. |