diff options
author | 2001-09-19 21:32:56 +0000 | |
---|---|---|
committer | 2001-09-19 21:32:56 +0000 | |
commit | 49274cb50d3ee348ab6c36056282519ce51c1c6d (patch) | |
tree | c036d45e3ae66cd167143b4b2695d514256d1a1b | |
parent | Now is a good time to commit this cosmetic maxpartition-related change... (diff) | |
download | wireguard-openbsd-49274cb50d3ee348ab6c36056282519ce51c1c6d.tar.xz wireguard-openbsd-49274cb50d3ee348ab6c36056282519ce51c1c6d.zip |
Get rid of unused pagezero variable. From NetBSD.
-rw-r--r-- | sys/arch/hp300/hp300/locore.s | 5 | ||||
-rw-r--r-- | sys/arch/hp300/hp300/pmap_bootstrap.c | 11 |
2 files changed, 2 insertions, 14 deletions
diff --git a/sys/arch/hp300/hp300/locore.s b/sys/arch/hp300/hp300/locore.s index e6a0e0ddd74..fd79675d131 100644 --- a/sys/arch/hp300/hp300/locore.s +++ b/sys/arch/hp300/hp300/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.30 2001/08/26 00:15:37 miod Exp $ */ +/* $OpenBSD: locore.s,v 1.31 2001/09/19 21:32:56 miod Exp $ */ /* $NetBSD: locore.s,v 1.91 1998/11/11 06:41:25 thorpej Exp $ */ /* @@ -1999,9 +1999,6 @@ GLOBAL(CLKbase) GLOBAL(MMUbase) .long 0 | KVA of base of HP MMU registers -GLOBAL(pagezero) - .long 0 | PA of first page of kernel text - #ifdef USELEDS ASLOCAL(heartbeat) .long 0 | clock ticks since last pulse of heartbeat diff --git a/sys/arch/hp300/hp300/pmap_bootstrap.c b/sys/arch/hp300/hp300/pmap_bootstrap.c index cc462c775fd..510f7a815e0 100644 --- a/sys/arch/hp300/hp300/pmap_bootstrap.c +++ b/sys/arch/hp300/hp300/pmap_bootstrap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap_bootstrap.c,v 1.9 2001/06/05 16:13:16 millert Exp $ */ +/* $OpenBSD: pmap_bootstrap.c,v 1.10 2001/09/19 21:32:57 miod Exp $ */ /* $NetBSD: pmap_bootstrap.c,v 1.13 1997/06/10 18:56:50 veego Exp $ */ /* @@ -63,7 +63,6 @@ extern char *extiobase, *proc0paddr; extern st_entry_t *Sysseg; extern pt_entry_t *Sysptmap, *Sysmap; extern vaddr_t CLKbase, MMUbase; -extern paddr_t pagezero; extern int maxmem, physmem; extern paddr_t avail_start, avail_end; @@ -314,14 +313,6 @@ pmap_bootstrap(nextpa, firstpa) *pte++ = PG_NV; /* - * Save the physical address of `page zero'. This is - * a page of memory at the beginning of kernel text - * not mapped at VA 0. But, we might want to use it - * for something later. - */ - RELOC(pagezero, paddr_t) = firstpa; - - /* * Validate PTEs for kernel text (RO). The first page * of kernel text remains invalid; see locore.s */ |