/* * GNU Mes --- Maxwell Equations of Software * Copyright © 2019 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * * GNU Mes is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * * GNU Mes is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GNU Mes. If not, see . */ #ifndef __MES_GNU_HURD_H #define __MES_GNU_HURD_H #define _GNU_SOURCE 1 #define __USE_GNU 1 #include #include #include struct hurd_startup_data { int flags; mach_port_t *dtable; mach_msg_type_number_t dtablesize; mach_port_t *portarray; mach_msg_type_number_t portarraysize; int *intarray; mach_msg_type_number_t intarraysize; vm_address_t stack_base; vm_size_t stack_size; vm_address_t phdr; vm_size_t phdrsz; vm_address_t user_entry; }; extern mach_port_t *_hurd_init_dtable; extern mach_msg_type_number_t _hurd_init_dtablesize; extern struct hurd_startup_data _hurd_startup_data; #endif // __MES_GNU_HURD_H