Now uses the kExtraSegmentScratch constant rather than a direct address.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7247 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-04-19 22:43:04 +00:00
parent cc551468f8
commit 7ca2763dc3

View File

@ -148,7 +148,7 @@ sort_addr_range(addr_range *range, int count)
static uint32
get_memory_map(extended_memory **_extendedMemory)
{
extended_memory *block = (extended_memory *)0x2000;
extended_memory *block = (extended_memory *)kExtraSegmentScratch;
bios_regs regs = { 0, 0, sizeof(extended_memory), 0, 0, (uint32)block, 0, 0};
uint32 count = 0;