C Hanish Menon <[EMAIL PROTECTED]> wrote:
> I noted that one is allowed to specify the Data and BSS offset (along with
> Code and Stack) but its nevered used anywhere. Shouldn't we be setting the
> VM's DS to vm_conf.data_address in bin.c . Also should we be allowing setting
> of BSS as its got nothing to do with Hardware (VM) directly (as far as I know
> but I may be wrong). As I have joined the list only today I don't know if there
> was any idea behind keeping them the way they are. So I thought instead of
> changing anything let me put across the idea.
Both data_address and bss_address should be removed IMO, as they don't
actually serve any particular purpose. The initial segment registers
(*including* DS) must be set to base 0 for all of our test guest OSes.
In a final version, we'd want to start guest execution in real mode
anyway, so the question of segment bases doesn't even apply ...
Bye,
Ulrich
--
Ulrich Weigand,
IMMD 1, Universitaet Erlangen-Nuernberg,
Martensstr. 3, D-91058 Erlangen, Phone: +49 9131 85-27688