PERFORCE change 29999 for review
Juli Mallett
jmallett at FreeBSD.org
Mon Apr 28 16:12:10 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29999
Change 29999 by jmallett at jmallett_dalek on 2003/04/28 16:11:47
Add segment base.
Affected files ...
.. //depot/projects/mips/sys/mips/include/pmap.h#7 edit
Differences ...
==== //depot/projects/mips/sys/mips/include/pmap.h#7 (text+ko) ====
@@ -29,9 +29,17 @@
#ifndef _MACHINE_PMAP_H_
#define _MACHINE_PMAP_H_
+#include <machine/pte.h>
+
struct md_page {
};
+#define PMAP_SEGTABSIZE 512
+
+struct segtab {
+ union pt_entry *seg_tab[PMAP_SEGTABSIZE];
+};
+
struct pmap {
struct pmap_statistics pm_stats;
int pm_asid;
@@ -46,6 +54,7 @@
extern vm_offset_t phys_avail[];
extern vm_offset_t virtual_avail;
extern vm_offset_t virtual_end;
+extern struct segtab *segbase;
void pmap_bootstrap(void);
vm_offset_t pmap_kextract(vm_offset_t);
More information about the p4-projects
mailing list