mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-23 01:29:34 +00:00
add casts and #ifdef
This commit is contained in:
parent
87798930f1
commit
2ac76100fa
@ -56,11 +56,11 @@ int start(emile_l2_header_t* info)
|
|||||||
entry_t entry;
|
entry_t entry;
|
||||||
#ifdef ARCH_M68K
|
#ifdef ARCH_M68K
|
||||||
disable_cache_t disable_cache;
|
disable_cache_t disable_cache;
|
||||||
|
unsigned long aligned_size;
|
||||||
|
unsigned long aligned_addr;
|
||||||
#endif
|
#endif
|
||||||
int ret;
|
int ret;
|
||||||
unsigned long start_mem;
|
unsigned long start_mem;
|
||||||
unsigned long aligned_size;
|
|
||||||
unsigned long aligned_addr;
|
|
||||||
unsigned long enter_kernel;
|
unsigned long enter_kernel;
|
||||||
unsigned long end_enter_kernel;
|
unsigned long end_enter_kernel;
|
||||||
unsigned long kernel_image_start;
|
unsigned long kernel_image_start;
|
||||||
@ -302,8 +302,9 @@ int start(emile_l2_header_t* info)
|
|||||||
{
|
{
|
||||||
bootx_init(info->command_line,
|
bootx_init(info->command_line,
|
||||||
(char*)ramdisk_start, info->ramdisk_size);
|
(char*)ramdisk_start, info->ramdisk_size);
|
||||||
physImage = kernel;
|
physImage = (unsigned long)kernel;
|
||||||
start_mem = 0x200000;
|
start_mem = 0x200000;
|
||||||
|
entry = (entry_t)enter_kernel;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
error("EMILE doesn't support your architecture");
|
error("EMILE doesn't support your architecture");
|
||||||
|
Loading…
Reference in New Issue
Block a user