1/* 2** Copyright 2001, Travis Geiselbrecht. All rights reserved. 3** Distributed under the terms of the NewOS License. 4*/ 5#define SYSCALL0(name, n) \ 6.globl name; \ 7.type name,%function; \ 8.align 4; \ 9name: 10 11#define SYSCALL1(name, n) \ 12.globl name; \ 13.type name,%function; \ 14.align 4; \ 15name: 16 17#define SYSCALL2(name, n) \ 18.globl name; \ 19.type name,%function; \ 20.align 4; \ 21name: 22 23#define SYSCALL3(name, n) \ 24.globl name; \ 25.type name,%function; \ 26.align 4; \ 27name: 28 29#define SYSCALL4(name, n) \ 30.globl name; \ 31.type name,%function; \ 32.align 4; \ 33name: 34 35#define SYSCALL5(name, n) \ 36.globl name; \ 37.type name,%function; \ 38.align 4; \ 39name: 40 41#define SYSCALL6(name, n) \ 42.globl name; \ 43.type name,%function; \ 44.align 4; \ 45name: 46 47#define SYSCALL7(name, n) \ 48.globl name; \ 49.type name,%function; \ 50.align 4; \ 51name: 52 53#define SYSCALL8(name, n) \ 54.globl name; \ 55.type name,%function; \ 56.align 4; \ 57name: 58 59#define SYSCALL9(name, n) \ 60.globl name; \ 61.type name,%function; \ 62.align 4; \ 63name: 64 65#define SYSCALL10(name, n) \ 66.globl name; \ 67.type name,%function; \ 68.align 4; \ 69name: 70 71#define SYSCALL11(name, n) \ 72.globl name; \ 73.type name,%function; \ 74.align 4; \ 75name: 76 77#define SYSCALL12(name, n) \ 78.globl name; \ 79.type name,%function; \ 80.align 4; \ 81name: 82 83#define SYSCALL13(name, n) \ 84.globl name; \ 85.type name,%function; \ 86.align 4; \ 87name: 88 89