From 3ba32d2b53683c8259c3583ce7c63c077f6c0da1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 3 Dec 2014 23:34:22 -0500 Subject: mem_map: Make enum for addresses use u32 as the underlying type --- src/core/mem_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/mem_map.h b/src/core/mem_map.h index a58c5924..637cde31 100644 --- a/src/core/mem_map.h +++ b/src/core/mem_map.h @@ -16,7 +16,7 @@ typedef u32 PAddr; ///< Represents a pointer in the physical address space. //////////////////////////////////////////////////////////////////////////////////////////////////// -enum { +enum : u32 { BOOTROM_SIZE = 0x00010000, ///< Bootrom (super secret code/data @ 0x8000) size MPCORE_PRIV_SIZE = 0x00002000, ///< MPCore private memory region size DSP_SIZE = 0x00080000, ///< DSP memory size -- cgit v1.2.3