Rev 2263 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2263 | Rev 2274 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #include <arch/mm/memory_init.h> |
35 | #include <arch/mm/memory_init.h> |
36 | #include <arch/mm/page.h> |
36 | #include <arch/mm/page.h> |
37 | #include <arch/drivers/gxemul.h> |
37 | #include <arch/machine.h> |
38 | 38 | ||
39 | size_t get_memory_size(void) |
39 | size_t get_memory_size(void) |
40 | { |
40 | { |
41 | #if MACHINE == MACHINE_GXEMUL_TESTARM |
- | |
42 | return gxemul_get_memory_size(); |
41 | return machine_get_memory_size(); |
43 | #endif |
- | |
44 | } |
42 | } |
45 | 43 | ||
46 | 44 | ||
47 | /** @} |
45 | /** @} |
48 | */ |
46 | */ |