Skip to content

Commit ae8ab84

Browse files
committed
Sysseg_pa is supposed to be a physical address, so don't PA2VA()
the value before assigning it.
1 parent 23081d4 commit ae8ab84

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sys/arch/mac68k/mac68k/pmap_bootstrap.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: pmap_bootstrap.c,v 1.109 2025/11/30 21:42:28 thorpej Exp $ */
1+
/* $NetBSD: pmap_bootstrap.c,v 1.110 2025/12/02 02:04:21 thorpej Exp $ */
22

33
/*
44
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
3636
*/
3737

3838
#include <sys/cdefs.h>
39-
__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.109 2025/11/30 21:42:28 thorpej Exp $");
39+
__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.110 2025/12/02 02:04:21 thorpej Exp $");
4040

4141
#include "audio.h"
4242
#include "opt_ddb.h"
@@ -433,7 +433,7 @@ pmap_bootstrap1(paddr_t nextpa, paddr_t firstpa)
433433
* Sysseg: base of kernel segment table
434434
*/
435435
Sysseg = PA2VA(kstpa, st_entry_t *);
436-
Sysseg_pa = PA2VA(kstpa, paddr_t);
436+
Sysseg_pa = kstpa;
437437
#if defined(M68040)
438438
if (mmutype == MMU_68040)
439439
protostfree = stfree;

0 commit comments

Comments
 (0)