4 #define START 0x10000000
5 #define SIZE ((1024 * 1024 * 16))
7 static void ram_write(void)
11 for (i
= 0; i
< SIZE
; i
+= 4) {
12 *(volatile unsigned int *) (START
+ i
) = ~i
;
20 static void ram_read(void)
24 for (i
= 0; i
< SIZE
; i
+= 4) {
25 unsigned int v
= *(volatile unsigned int *) (START
+ i
);
42 #endif /* RAMTEST_H */