Explorar o código

mem_map: Make enum for addresses use u32 as the underlying type

Lioncash %!s(int64=11) %!d(string=hai) anos
pai
achega
3ba32d2b53
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/mem_map.h

+ 1 - 1
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
     BOOTROM_SIZE            = 0x00010000,   ///< Bootrom (super secret code/data @ 0x8000) size
     MPCORE_PRIV_SIZE        = 0x00002000,   ///< MPCore private memory region size
     MPCORE_PRIV_SIZE        = 0x00002000,   ///< MPCore private memory region size
     DSP_SIZE                = 0x00080000,   ///< DSP memory size
     DSP_SIZE                = 0x00080000,   ///< DSP memory size