qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Alpha support


From: Falk Hueffner
Subject: [Qemu-devel] Alpha support
Date: 28 Apr 2003 01:05:04 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (cabbage)

Hi,

let's try the shiny new mailing list this time, maybe somebody else
has some comments :)

Here's an updated Alpha support patch. I snarfed the mmap 4k/8k page
handling from em86 (without really checking out in detail what it
does, I admit ;), and now the mmapping seems to work. I also mark qemu
as 32 bit binary, which should result in the binary mapped to the
lower 31 bit of the address space. However, the stack pointer seems to
remain 64 bit:

start_brk   0x080490ac
end_code    0x080480aa
start_code  0x08048000
end_data    0x080490ac
start_stack 0x200002a9a00
brk         0x080490ac
esp         0x200002a9a00
eip         0x08048074

which leads to an immediate crash, since esp is treated as 32 bit. Now
I wonder what determines the stack start? Is it chosen by the kernel?
It could probably be worked around easily by just allocating it
manually...

-- 
        Falk

Attachment: qemu-alpha.patch.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]