|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <stdio.h>#include <stdint.h>#include <kos/init.h>#include <arch/arch.h>#include "memtest.h"Macros | |
| #define | SAFE_AREA 0x100000 |
| #define | STACK_SIZE 65536 |
| #define | BASE_ADDRESS (volatile datum *) (0x8c000000 + SAFE_AREA) |
| #define | NUM_BYTES_32 (HW_MEM_32 - SAFE_AREA - STACK_SIZE) |
| #define | NUM_BYTES_16 (HW_MEM_16 - SAFE_AREA - STACK_SIZE) |
Functions | |
| int | main (int argc, char **argv) |
| #define NUM_BYTES_16 (HW_MEM_16 - SAFE_AREA - STACK_SIZE) |
Referenced by main().
| #define NUM_BYTES_32 (HW_MEM_32 - SAFE_AREA - STACK_SIZE) |
Referenced by main().
| #define SAFE_AREA 0x100000 |
| #define STACK_SIZE 65536 |
| int main | ( | int | argc, |
| char ** | argv ) |
References _arch_mem_top, BASE_ADDRESS, data, DBL_MEM, fflush, HW_MEMSIZE, memTestAddressBus(), memTestDataBus(), memTestDevice(), NULL, NUM_BYTES_16, NUM_BYTES_32, printf, and uint32_t().