xemu/darwin-user
Alexander Graf e3ea652962 PPC64: Fix timebase
On PPC we have a 64-bit time base. Usually (PPC32) this is accessed using
two separate 32 bit SPR accesses to SPR_TBU and SPR_TBL.

On PPC64 the SPR_TBL register acts as 64 bit though, so we get the full
64 bits as return value. If we only take the lower ones, fine. But Linux
wants to see all 64 bits or it breaks.

This patch makes PPC64 Linux work even after TB crossed the 32-bit boundary,
which usually happened a few seconds after bootup.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2009-12-21 13:42:37 +01:00
..
commpage.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
ioctls.h Darwin userspace emulation, by Pierre d'Herbemont. 2007-01-18 20:06:33 +00:00
ioctls_types.h Add missing newline at the end of file 2008-12-14 08:50:18 +00:00
machload.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
main.c PPC64: Fix timebase 2009-12-21 13:42:37 +01:00
mmap.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
qemu.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
signal.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
syscall.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
syscalls.h Handling more darwin-user syscalls, by Ilya Shar. 2007-03-19 13:43:04 +00:00