mirror of
https://github.com/vivier/EMILE.git
synced 2025-02-27 06:29:15 +00:00
RAMDISK memory MUST be allocated at top of memory
This commit is contained in:
parent
4757dff52c
commit
1bd317067f
@ -246,7 +246,7 @@ int start(emile_l2_header_t* info)
|
||||
if (info->ramdisk_size != 0)
|
||||
{
|
||||
printf("RAMDISK size is %d Bytes\n", info->ramdisk_size);
|
||||
ramdisk_start = (unsigned long)malloc_contiguous(
|
||||
ramdisk_start = (unsigned long)malloc_top(
|
||||
info->ramdisk_size + 4);
|
||||
ramdisk_start = (ramdisk_start + 3) & 0xFFFFFFFC;
|
||||
printf("RAMDISK base at 0x%lx\n", ramdisk_start);
|
||||
|
Loading…
x
Reference in New Issue
Block a user