boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

syscall.h (1438B)


      1 /* -*-comment-start: "//";comment-end:""-*-
      2  * GNU Mes --- Maxwell Equations of Software
      3  * Copyright © 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
      4  * Copyright © 2021 W. J. van der Laan <laanwj@protonmail.com>
      5  *
      6  * This file is part of GNU Mes.
      7  *
      8  * GNU Mes is free software; you can redistribute it and/or modify it
      9  * under the terms of the GNU General Public License as published by
     10  * the Free Software Foundation; either version 3 of the License, or (at
     11  * your option) any later version.
     12  *
     13  * GNU Mes is distributed in the hope that it will be useful, but
     14  * WITHOUT ANY WARRANTY; without even the implied warranty of
     15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     16  * GNU General Public License for more details.
     17  *
     18  * You should have received a copy of the GNU General Public License
     19  * along with GNU Mes.  If not, see <http://www.gnu.org/licenses/>.
     20  */
     21 
     22 #ifndef __MES_SYSCALL_H
     23 #define __MES_SYSCALL_H
     24 
     25 long _sys_call (long sys_call);
     26 long _sys_call1 (long sys_call, long one);
     27 long _sys_call2 (long sys_call, long one, long two);
     28 long _sys_call3 (long sys_call, long one, long two, long three);
     29 long _sys_call4 (long sys_call, long one, long two, long three, long four);
     30 long _sys_call5 (long sys_call, long one, long two, long three, long four, long five);
     31 long _sys_call6 (long sys_call, long one, long two, long three, long four, long five, long six);
     32 
     33 #endif //__MES_SYSCALL_H