
#include <twl/mi.h>void MI_DumpWramList( MIWramPos wram );void MI_DumpWramListAll( void );void MI_DumpWramList_A();void MI_DumpWramList_B();void MI_DumpWramList_C();| wram | WRAM to display. |
None.
Displays the status of the WRAM.
This function is used for debugging. It won't do anything in FINALROM builds.
The wram for MI_DumpWramList is of type MIWramPos and specifies the target WRAM. It should be MI_WRAM_A, MI_WRAM_B, or MI_WRAM_C. The MI_DumpWramListAll function specifies all WRAMs.
It will be displayed as follows:
----WRAM-A (3000000-2ffffff) ALLOC RESERVE slot0 ARM9 ARM9 slot1 ARM7 ARM7 slot2 ARM7 ---- slot3 ---- ----
ALLOC indicates the processor that has been assigned. In the example above, slot 0 is assigned to the ARM9, and slots 1 and 2 are assigned to the ARM7. Slot 3 has not yet been assigned.
RESERVE indicates the processors that have reservations. In the example above, slot 0 has been reserved for the ARM9, and slot 1 has been reserved for the ARM7. Slots 2 and 3 are not reserved.
In the example above, the WRAM-A region is shown as 0x3000000-0x2ffffff, but if WRAM-A has been configured so that it cannot be read from the ARM9, the end of this range may be a lower-order address than the start of this range.
MI_DumpWramList_A is the #define directive of MI_DumpWramList( MI_WRAM_A ). MI_DumpWramList_B is the #define directive of MI_DumpWramList( MI_WRAM_B ). MI_DumpWramList_C is the #define directive of MI_DumpWramList( MI_WRAM_C ).
Overview (Work RAM), MI-Related Constants
2007/10/24 Initial version.
CONFIDENTIAL