OSDN Git Service

use target_mmap() to allocate idt, gdt and ldt (Kirill A. Shutemov).
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 10 Nov 2008 02:55:33 +0000 (02:55 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 10 Nov 2008 02:55:33 +0000 (02:55 +0000)
commite441570f8abd131ec39ca6e81aaaf0d4ade8572f
treed2c920975161fadf558bc6f5a055393609211c6d
parent8ce0f8699347bb4beab1cbdb4245907d21cc26ea
use target_mmap() to allocate idt, gdt and ldt (Kirill A. Shutemov).

env->*dt.base should fit target address space, so we should use
target_mmap to allocate them.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5666 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/main.c
linux-user/syscall.c