From 1b7f03d48750dfddf0752f7c0d3efa1d06cd76bb Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 1 Jan 2015 13:38:44 +0000 Subject: [PATCH] kdata: UZI_SYSCALL_COUNT -> FUZIX_SYSCALL_COUNT Start pulling out the legacy UZI_ values. We don't want them confusing things when we've got toolchains that support both UZI and FUZIX. --- Kernel/include/kdata.h | 4 ++-- Kernel/kdata.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/include/kdata.h b/Kernel/include/kdata.h index 8a861b7f..c9d4232b 100644 --- a/Kernel/include/kdata.h +++ b/Kernel/include/kdata.h @@ -72,8 +72,8 @@ struct runload { extern struct runload loadavg[]; // the system call dispatch table -#define UZI_SYSCALL_COUNT 61 +#define FUZIX_SYSCALL_COUNT 61 typedef int16_t (*syscall_t)(void); -extern const syscall_t syscall_dispatch[UZI_SYSCALL_COUNT]; +extern const syscall_t syscall_dispatch[FUZIX_SYSCALL_COUNT]; #endif diff --git a/Kernel/kdata.c b/Kernel/kdata.c index c85cbc5f..19ddd999 100644 --- a/Kernel/kdata.c +++ b/Kernel/kdata.c @@ -30,7 +30,7 @@ struct oft of_tab[OFTSIZE]; /* Open File Table */ struct cinode i_tab[ITABSIZE]; /* In-core inode table */ struct mount fs_tab[NMOUNTS]; /* In-core mount table */ -const syscall_t syscall_dispatch[UZI_SYSCALL_COUNT] = { +const syscall_t syscall_dispatch[FUZIX_SYSCALL_COUNT] = { __exit, /* FUZIX system call 0 */ _open, /* FUZIX system call 1 */ _close, /* FUZIX system call 2 */ -- 2.34.1