From b390577af899c01db42a2a6d355469f9d618c508 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 26 Jan 2015 22:53:32 +0000 Subject: [PATCH] cpu: add uarg_t --- Kernel/cpu-6502/cpu.h | 1 + Kernel/cpu-z80/cpu.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Kernel/cpu-6502/cpu.h b/Kernel/cpu-6502/cpu.h index 3fb7892c..87102327 100644 --- a/Kernel/cpu-6502/cpu.h +++ b/Kernel/cpu-6502/cpu.h @@ -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; diff --git a/Kernel/cpu-z80/cpu.h b/Kernel/cpu-z80/cpu.h index b67376f4..8cab8619 100644 --- a/Kernel/cpu-z80/cpu.h +++ b/Kernel/cpu-z80/cpu.h @@ -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 */ -- 2.34.1