Marcus Brinkmann wrote:
>
> Hi,
>
> thanks for your kind reply. I tried again using plex86-2000_0722b.tar.gz
>
> Now GNU Mach doesn't crash at all, so I don't get the vga dump and can't see
> how far it comes. Below is a transcript. It keeps printing ".", but I
> interrupted it. I don't know where the "." come from. Do you have any
> suggestions where to put a call to vga_dump, so I see the progress?
The '.' comes from the user space program and denotes each time a
timer quantum is distributed to it from the VM. It is based
on the amount of cycle time the guest really runs for. The more
monitor intervention, the slower the ticks will appear.
It's in user/plugins/bochs/io.cc:do_timer().
One of the problems, is though we can read in an ELF binary, values
which would have been set from the boatloader are manually written
to memory. For the test kernels, they don't need anything special.
For Linux, I had to set a bunch of fields. You could probably use
the Linux hack and load in a bogus ramdisk for now. ("hack=linux").
I probably should call it "hack=bootloader", which is essentially
what it is trying to make the OS think happened.
-Kevin