summaryrefslogtreecommitdiff
path: root/i386/util/vm_param.h
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-02-20 20:59:40 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:35 +0200
commit44b9d528984254f021865f65c0e7749f3d9d97f4 (patch)
treef5ec614b22fbc343c4d2de22473f77266c18d7c8 /i386/util/vm_param.h
parentb3d4954f3269685d4200149e7334cdcdc935c287 (diff)
2006-02-20 Thomas Schwinge <tschwinge@gnu.org>
Remove unused and unsupported code. Consult the file `DEVELOPMENT' for details. Partly based on suggestions by Gianluca Guida <glguida@gmail.com>. * i386/util/NOTES: Remove file. * i386/util/anno.c: Likewise. * i386/util/anno.h: Likewise. * i386/util/cpu.h: Likewise. * i386/util/cpu_subs.h: Likewise. * i386/util/cpu_tables_init.c: Likewise. * i386/util/cpu_tables_load.c: Likewise. * i386/util/crtn.S: Likewise. * i386/util/debug.h: Likewise. * i386/util/gdt.c: Likewise. * i386/util/gdt.h: Likewise. * i386/util/gdt_sels.h: Likewise. * i386/util/i16/debug.h: Likewise. * i386/util/i16/i16.h: Likewise. * i386/util/i16/i16_die.c: Likewise. * i386/util/i16/i16_gdt_init_temp.c: Likewise. * i386/util/i16/i16_nanodelay.c: Likewise. * i386/util/i16/i16_puts.c: Likewise. * i386/util/i16/i16_writehex.c: Likewise. * i386/util/i386_asm.sym: Likewise. * i386/util/idt.c: Likewise. * i386/util/idt.h: Likewise. * i386/util/idt_inittab.S: Likewise. * i386/util/idt_inittab.h: Likewise. * i386/util/ldt.h: Likewise. * i386/util/trap.h: Likewise. * i386/util/trap_asm.sym: Likewise. * i386/util/trap_dump.c: Likewise. * i386/util/trap_dump_die.c: Likewise. * i386/util/trap_handler.S: Likewise. * i386/util/trap_return.S: Likewise. * i386/util/tss.c: Likewise. * i386/util/tss.h: Likewise. * i386/util/tss_dump.c: Likewise. * i386/util/vm_param.h: Likewise.
Diffstat (limited to 'i386/util/vm_param.h')
-rw-r--r--i386/util/vm_param.h89
1 files changed, 0 insertions, 89 deletions
diff --git a/i386/util/vm_param.h b/i386/util/vm_param.h
deleted file mode 100644
index c24ed07..0000000
--- a/i386/util/vm_param.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * Mach Operating System
- * Copyright (c) 1991,1990,1989,1988 Carnegie Mellon University
- * All Rights Reserved.
- *
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
- * School of Computer Science
- * Carnegie Mellon University
- * Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie Mellon
- * the rights to redistribute these changes.
- */
-/*
- * File: vm_param.h
- * Author: Avadis Tevanian, Jr.
- * Date: 1985
- *
- * I386 machine dependent virtual memory parameters.
- * Most of the declarations are preceeded by I386_ (or i386_)
- * which is OK because only I386 specific code will be using
- * them.
- */
-
-#ifndef _I386_KERNEL_UTIL_VM_PARAM_H_
-#define _I386_KERNEL_UTIL_VM_PARAM_H_
-
-#include <mach/vm_param.h>
-
-
-/* This variable is expected always to contain
- the kernel virtual address at which physical memory is mapped.
- It may change as paging is turned on or off. */
-extern vm_offset_t phys_mem_va;
-
-
-/* Calculate a kernel virtual address from a physical address. */
-#define phystokv(pa) ((vm_offset_t)(pa) + phys_mem_va)
-
-/* Same, but in reverse.
- This only works for the region of kernel virtual addresses
- that directly map physical addresses. */
-#define kvtophys(va) ((vm_offset_t)(va) - phys_mem_va)
-
-
-/* This variable contains the kernel virtual address
- corresponding to linear address 0.
- In the absence of paging,
- linear addresses are always the same as physical addresses. */
-#ifndef linear_base_va
-#define linear_base_va phys_mem_va
-#endif
-
-/* Convert between linear and kernel virtual addresses. */
-#define lintokv(la) ((vm_offset_t)(la) + linear_base_va)
-#define kvtolin(va) ((vm_offset_t)(va) - linear_base_va)
-
-
-/* This variable keeps track of where in physical memory
- our boot image was loaded.
- It holds the physical address
- corresponding to the boot image's virtual address 0.
- When paging is disabled, this is simply -phys_mem_va.
- However, when paging is enabled,
- phys_mem_va points to the place physical memory is mapped into exec space,
- and has no relationship to where in physical memory the boot image is.
- Thus, this variable always contains the location of the boot image
- whether or not paging is enabled. */
-extern vm_offset_t boot_image_pa;
-
-/* Code segment we originally had when we started in real mode.
- Always equal to boot_image_pa >> 4. */
-extern unsigned short real_cs;
-
-
-
-#endif /* _I386_KERNEL_UTIL_VM_PARAM_H_ */