Browse Source

Fixup the memory window which be transfered from pmon to kernel as a

parameter,reserve the memory : 0~2MB and 240~256MB

Change-Id: I23224a682249cf46ab71d5ef07e47ab3e41845ce
Target:LS2G1A
master
lixuefeng 10 years ago
parent
commit
f32a99ae20
  1. 2
      Targets/Bonito2g1a/Bonito/tgt_machdep.c

2
Targets/Bonito2g1a/Bonito/tgt_machdep.c

@ -1323,7 +1323,7 @@ struct efi_memory_map_loongson * init_memory_map()
emap->map[(entry)].mem_size = (size), \
(entry)++
EMAP_ENTRY(i, 0, SYSTEM_RAM_LOW, 0x00100000, 0x0ff);
EMAP_ENTRY(i, 0, SYSTEM_RAM_LOW, 0x00200000, 0x0ee);
/* for entry with mem_size < 1M, we set bit31 to 1 to indicate
* that the unit in mem_size is Byte not MBype */

Loading…
Cancel
Save