]> git.proxmox.com Git - mirror_qemu.git/commit
target-hppa: Implement linux-user gateway page
authorRichard Henderson <rth@twiddle.net>
Thu, 15 Dec 2016 21:55:46 +0000 (13:55 -0800)
committerRichard Henderson <rth@twiddle.net>
Mon, 23 Jan 2017 17:52:40 +0000 (09:52 -0800)
commit7ad439df5616fd1854a58ef7bf87c7a092cd34ce
treece97d2216f2d5288a7be5bd210b542a583c8a414
parent98cd9ca7cc560414ad4a79e7e9aee568d10f985e
target-hppa: Implement linux-user gateway page

For linux, page 0 is mapped as an execute-only gateway.  A gateway
page is a special bit in the page table that allows a B,GATE insn
within that page to raise processor permissions.  This is how system
calls are implemented for HPPA.

Rather than actually map anything here, or handle permissions at all,
implement the semantics of the actual linux syscall entry points.

Signed-off-by: Richard Henderson <rth@twiddle.net>
target/hppa/translate.c