Skip to contentSkip to conversation

generic kernel on the simulator

DISCUSSION Ian Wienand 2 participants 2 messages Aug 20, 2003

lore
Share & tools
lore
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Ian Wienand

Ian> Hi, Should a generic kernel be able to boot on the simulator? Ian> The kernel seems to build in machine vector information for the Ian> simulator, but I'm not sure if the simulator simulates enough Ian> for the init routines to discover this?

I think it would be useful to have that work because it would mean that anyone with access to real hardware could test at least two very different platforms with a generic kernel (namely Ski and the real hardware).

I suspect we'll need to add some more fw emulation to make this really work. Actually, looking at acpi_get_sysname(), perhaps we just need to change it so that if the rsdp cannot be found, we default to hpsim? Without RSDP, real hardware won't be able to boot anyhow, so returning "dig" makes little sense.

	--david