Annotation of kernel/machdep/ppc/mem.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
                      3:  *
                      4:  * @APPLE_LICENSE_HEADER_START@
                      5:  * 
                      6:  * Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
                      7:  * Reserved.  This file contains Original Code and/or Modifications of
                      8:  * Original Code as defined in and that are subject to the Apple Public
                      9:  * Source License Version 1.1 (the "License").  You may not use this file
                     10:  * except in compliance with the License.  Please obtain a copy of the
                     11:  * License at http://www.apple.com/publicsource and read it before using
                     12:  * this file.
                     13:  * 
                     14:  * The Original Code and all software distributed under the License are
                     15:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
                     16:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
                     17:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
                     18:  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
                     19:  * License for the specific language governing rights and limitations
                     20:  * under the License.
                     21:  * 
                     22:  * @APPLE_LICENSE_HEADER_END@
                     23:  */
                     24: 
                     25: #ifndef _PPC_MEM_H_
                     26: #define _PPC_MEM_H_
                     27: 
                     28: /* Various prototypes for things in/used by the low level memory
                     29:  * routines
                     30:  */
                     31: 
                     32: #include <machdep/ppc/proc_reg.h>
                     33: #include <machdep/ppc/pmap.h>
                     34: #include <machdep/ppc/pmap_internals.h>
                     35: #include <mach/machine/vm_types.h>
                     36: 
                     37: /* These statics are initialised by pmap.c */
                     38: 
                     39: extern vm_offset_t hash_table_base;
                     40: extern vm_offset_t hash_table_size;
                     41: extern vm_offset_t hash_table_mask;
                     42: 
                     43: void hash_table_init(vm_offset_t base, vm_offset_t size);
                     44: pte_t *find_or_allocate_pte(space_t    sid,
                     45:                            vm_offset_t v_addr,
                     46:                            boolean_t   allocate);
                     47: 
                     48: #endif /* _PPC_MEM_H_ */

unix.superglobalmegacorp.com

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