Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/arm Switch libc syscall veneers over to using ...



details:   https://anonhg.NetBSD.org/src/rev/5e8acdb51d45
branches:  trunk
changeset: 522016:5e8acdb51d45
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sun Feb 10 14:10:59 2002 +0000

description:
Switch libc syscall veneers over to using our shiny new official SWI range.

diffstat:

 lib/libc/arch/arm/SYS.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 321090afb8de -r 5e8acdb51d45 lib/libc/arch/arm/SYS.h
--- a/lib/libc/arch/arm/SYS.h   Sun Feb 10 13:47:10 2002 +0000
+++ b/lib/libc/arch/arm/SYS.h   Sun Feb 10 14:10:59 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: SYS.h,v 1.3 2002/01/14 00:55:55 thorpej Exp $  */
+/*     $NetBSD: SYS.h,v 1.4 2002/02/10 14:10:59 bjh21 Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,11 +40,12 @@
 
 #include <machine/asm.h>
 #include <sys/syscall.h>
+#include <arm/swi.h>
 
 #ifdef __STDC__
-#define SYSTRAP(x)     swi SYS_ ## x
+#define SYSTRAP(x)     swi SWI_OS_NETBSD | SYS_ ## x
 #else
-#define SYSTRAP(x)     swi SYS_/**/x
+#define SYSTRAP(x)     swi SWI_OS_NETBSD | SYS_/**/x
 #endif
 
 #ifdef __ELF__



Home | Main Index | Thread Index | Old Index