From: Alan Cox Date: Mon, 26 Jan 2015 22:53:32 +0000 (+0000) Subject: cpu: add uarg_t X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b390577af899c01db42a2a6d355469f9d618c508;p=FUZIX.git cpu: add uarg_t --- 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 */