add casts and #ifdef

This commit is contained in:
Laurent Vivier 2005-05-12 21:04:29 +00:00
parent 87798930f1
commit 2ac76100fa

View File

@ -56,11 +56,11 @@ int start(emile_l2_header_t* info)
entry_t entry;
#ifdef ARCH_M68K
disable_cache_t disable_cache;
unsigned long aligned_size;
unsigned long aligned_addr;
#endif
int ret;
unsigned long start_mem;
unsigned long aligned_size;
unsigned long aligned_addr;
unsigned long enter_kernel;
unsigned long end_enter_kernel;
unsigned long kernel_image_start;
@ -302,8 +302,9 @@ int start(emile_l2_header_t* info)
{
bootx_init(info->command_line,
(char*)ramdisk_start, info->ramdisk_size);
physImage = kernel;
physImage = (unsigned long)kernel;
start_mem = 0x200000;
entry = (entry_t)enter_kernel;
}
else
error("EMILE doesn't support your architecture");