Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/m68k



Module Name:    src
Committed By:   thorpej
Date:           Sun Nov 15 17:23:57 UTC 2026

Modified Files:
        src/sys/arch/m68k/include: pmap_68k.h
        src/sys/arch/m68k/m68k: genassym.cf pmap_68k.c

Log Message:
First step towards MP support in the new pmap:

Add new functions that allocate and initialize (as separate steps) a
per-CPU page that contains its cpu_info as well as lev1, lev2, and lev3
page tables.  The lev1 table is a copy of the kernel_lev1map for that
CPU, except the slot corresponding to CPUINFO_VA points to that CPU's
private lev2 table, whose slot corresponding to CPUINFO_VA points to
that CPU's private lev3 table, whose slot corresponding to CPUINFO_VA
points to this page.  Thus, CPUINFO_VA always maps to that specific
CPU's cpu_info page.

If new level 2 tables need to be allowed during pmap_growkernel(),
each secondary CPU's private lev1 table will be updated.  Happily,
this is an extremely rare event.

Decorate all of the __read_mostly vars.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/m68k/include/pmap_68k.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/m68k/m68k/genassym.cf
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/m68k/m68k/pmap_68k.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index