add gestaltid

This commit is contained in:
Laurent Vivier 2004-10-07 09:09:58 +00:00
parent 581846611c
commit 5bfe6dfb97

View File

@ -58,7 +58,7 @@ int start(emile_l2_header_t* info)
printf("EMILE v"VERSION" (c) 2004 Laurent Vivier\n");
printf("This is free software, redistribute it under GPL\n");
if (info->signature != EMILE_02_SIGNATURE)
if (info->signature < EMILE_03_SIGNATURE)
error("Bad header signature !\n");
arch_init();
@ -69,6 +69,11 @@ int start(emile_l2_header_t* info)
bank_dump();
#endif
if (info->gestaltID != 0) {
machine_id = info->gestaltID;
printf("User forces gestalt ID to %ld\n", machine_id);
}
/* load kernel */
printf("vmlinux %s\n", info->command_line);