]> git.proxmox.com Git - qemu.git/blobdiff - linux-user/mips64/syscall.h
hw/pci-host/versatile.c: Provide property for forcing broken IRQ mapping
[qemu.git] / linux-user / mips64 / syscall.h
index 668a2b95d4870845d9324248d89e524bfa01cc64..cd707df32f346a3e1de7c6be25774283456eac28 100644 (file)
@@ -3,16 +3,16 @@
    stack during a system call. */
 
 struct target_pt_regs {
-       /* Saved main processor registers. */
-       abi_ulong regs[32];
+        /* Saved main processor registers. */
+        target_ulong regs[32];
 
-       /* Saved special registers. */
-       abi_ulong cp0_status;
-       abi_ulong lo;
-       abi_ulong hi;
-       abi_ulong cp0_badvaddr;
-       abi_ulong cp0_cause;
-       abi_ulong cp0_epc;
+        /* Saved special registers. */
+        target_ulong cp0_status;
+        target_ulong lo;
+        target_ulong hi;
+        target_ulong cp0_badvaddr;
+        target_ulong cp0_cause;
+        target_ulong cp0_epc;
 };
 
 /* Target errno definitions taken from asm-mips/errno.h */
@@ -218,4 +218,7 @@ struct target_pt_regs {
 
 
 
+/* Nasty hack: define a fake errno value for use by sigreturn. */
+#define TARGET_QEMU_ESIGRETURN 255
+
 #define UNAME_MACHINE "mips64"