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

Loading the kernel.



Hi,
we are trying to load our kernel at a certain virtual address(3GB). In
order to do it we have made a loader, which, basically, makes the next:
	. Enables the virtual memory (svm_init),
	. Reads the kernel from disk,
	. With svm allocates virtual memory for it and,
	. Jumps to the entry point of the kernel, with a lcall.
Everything  seems to work fine, we have tried to load very
simple kernels, for example an infinite loop, and it works.
After that we wanted to make kernels a bit more complicated. For example, 
one with only a call to oskit_clientos_init() but we got the following
error:

	oskit_clientos_init: Problem creating global registry.

We suppose the problem is due to a call to oskit_mem_alloc in the
function oskit_services_create in com/services.c (we have oskit-0.97 with 
snapshot 19991124).

How can we fix it?
Is anything wrong in the steps we have followed to load the kernel?

Thanks,


The KDOS group
La Laguna University,
Spain




Follow-Ups: References: