cpu: add uarg_t
authorAlan Cox <alan@linux.intel.com>
Mon, 26 Jan 2015 22:53:32 +0000 (22:53 +0000)
committerAlan Cox <alan@linux.intel.com>
Mon, 26 Jan 2015 22:53:32 +0000 (22:53 +0000)
Kernel/cpu-6502/cpu.h
Kernel/cpu-z80/cpu.h

index 3fb7892..8710232 100644 (file)
@@ -9,6 +9,7 @@ typedef signed int size_t;
 typedef uint8_t irqflags_t;
 
 typedef int16_t arg_t;
+typedef uint16_t uarg_t;               /* Holds arguments */
 typedef uint16_t usize_t;              /* Largest value passed by userspace */
 typedef int16_t susize_t;
 typedef uint16_t uaddr_t;
index b67376f..8cab861 100644 (file)
@@ -5,7 +5,8 @@ typedef signed short int16_t;
 typedef unsigned char uint8_t;
 typedef signed char int8_t;
 
-typedef int16_t arg_t;                 /* Holds arguments */
+typedef int16_t  arg_t;                        /* Holds arguments */
+typedef uint16_t uarg_t;               /* Holds arguments */
 typedef uint16_t usize_t;              /* Largest value passed by userspace */
 typedef int16_t susize_t;
 typedef uint16_t uaddr_t;              /* User address */