[Prev][Next][Index][Thread]

console I/O setup



  I have a program that uses OSKit as part of a boot loader. The boot loader
has two parts, a initial loader, and the secondary. In the secondary loader,
none of the I/O functions seem to work at all. My secondary loader is
a "raw binary", with no main() or _start() function. (cause I jump to
it's location). It's actually a tiny stub, and it gets most of it's
functionality from the initial loader, which is simulating a PXE ROM.

  So I'm guessing I need to do something so the loaded executable will
initialize the console or OSKit in some way ? I've tried using
base_cpu_setup() and base_console_init(), but my printf()'s get ignored,
and puts() or putchar() seem to cause a segfault.
	
	- rob -


Follow-Ups: