N64 System Interface. More...
#include "n64sys.h"Defines | |
| #define | cache_op(op) |
| Helper macro to perform cache refresh operations. | |
Functions | |
| int | sys_get_boot_cic () |
| Return the boot CIC. | |
| void | sys_set_boot_cic (int bc) |
| Set the boot CIC. | |
| volatile unsigned long | get_ticks (void) |
| Read the number of ticks since system startup. | |
| volatile unsigned long | get_ticks_ms (void) |
| Read the number of millisecounds since system startup. | |
| void | wait_ticks (unsigned long wait) |
| Spin wait until the number of ticks have elapsed. | |
| void | wait_ms (unsigned long wait) |
| Spin wait until the number of millisecounds have elapsed. | |
| void | data_cache_hit_writeback (volatile void *addr, unsigned long length) |
| Force a data cache writeback over a memory region. | |
| void | data_cache_hit_invalidate (volatile void *addr, unsigned long length) |
| Force a data cache invalidate over a memory region. | |
| void | data_cache_hit_writeback_invalidate (volatile void *addr, unsigned long length) |
| Force a data cache writeback invalidate over a memory region. | |
| void | data_cache_index_writeback_invalidate (volatile void *addr, unsigned long length) |
| Force a data cache index writeback invalidate over a memory region. | |
| void | inst_cache_hit_writeback (volatile void *addr, unsigned long length) |
| Force an instruction cache writeback over a memory region. | |
| void | inst_cache_hit_invalidate (volatile void *addr, unsigned long length) |
| Force an instruction cache invalidate over a memory region. | |
| void | inst_cache_index_invalidate (volatile void *addr, unsigned long length) |
| Force an instruction cache index invalidate over a memory region. | |
Variables | |
| int | __bootcic = 6102 |
| Boot CIC. | |
N64 System Interface.
1.7.1