qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] User mode: Handle x86_64 vsyscall


From: Laurent Desnogues
Subject: [Qemu-devel] [PATCH] User mode: Handle x86_64 vsyscall
Date: Sat, 11 Jul 2009 17:14:47 +0200

Hello,

the attached patch implements two of the three x86_64 vsyscall's.
Also attached is a test that demonstrates the issue and hopefully
the fix.

Note there is a trick in there:  since vsyscall functions are in high
memory, page_l1_map will return NULL resulting in an abort when
calling tb_link_phys in tb_gen_code.  Also perhaps not very nice
is the way a ret is simulated in cpu_loop.

I didn't implement vgetcpu.


Laurent

Signed-off-by: Laurent Desnogues <address@hidden>

Attachment: vsyscall.patch
Description: Binary data

Attachment: check-vsyscall.c
Description: Text Data


reply via email to

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