Annotation of Gnu-Mach/i386/i386at/model_dep.h, revision 1.1.1.2

1.1       root        1: /*
                      2:  * Copyright (c) 2013 Free Software Foundation.
                      3:  *
                      4:  * This program is free software; you can redistribute it and/or modify
                      5:  * it under the terms of the GNU General Public License as published by
                      6:  * the Free Software Foundation; either version 2 of the License, or
                      7:  * (at your option) any later version.
                      8:  *
                      9:  * This program is distributed in the hope that it will be useful,
                     10:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
                     11:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     12:  * GNU General Public License for more details.
                     13:  *
                     14:  * You should have received a copy of the GNU General Public License along
                     15:  * with this program; if not, write to the Free Software Foundation, Inc.,
                     16:  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
                     17:  */
                     18: 
                     19: #ifndef _MODEL_DEP_H_
                     20: #define _MODEL_DEP_H_
                     21: 
1.1.1.2 ! root       22: #include <i386/vm_param.h>
1.1       root       23: #include <mach/vm_prot.h>
                     24: 
1.1.1.2 ! root       25: /*
        !            26:  * Interrupt stack.
        !            27:  */
        !            28: extern vm_offset_t int_stack_top, int_stack_base;
        !            29: 
        !            30: /* Check whether P points to the interrupt stack.  */
        !            31: #define ON_INT_STACK(P)        (((P) & ~(KERNEL_STACK_SIZE-1)) == int_stack_base)
        !            32: 
1.1       root       33: extern int timemmap(dev_t dev, vm_offset_t off, vm_prot_t prot);
                     34: 
                     35: void inittodr(void);
                     36: 
                     37: boolean_t init_alloc_aligned(vm_size_t size, vm_offset_t *addrp);
                     38: 
                     39: #endif /* _MODEL_DEP_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.