Source-Changes archive

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

CVS commit: src/sys/arch

Module Name:    src
Committed By:   maxv
Date:           Fri Nov 25 14:12:56 UTC 2016

Modified Files:
        src/sys/arch/amd64/amd64: locore.S vector.S
        src/sys/arch/amd64/include: i82093reg.h
        src/sys/arch/i386/i386: locore.S vector.S
        src/sys/arch/i386/include: i82093reg.h
        src/sys/arch/x86/include: i82489var.h
        src/sys/arch/x86/x86: lapic.c pmap.c

Log Message:
Move the virtual address of the LAPIC page out of the data segment on amd64
and i386. The old design was error-prone, and it didn't allow us to map the
data segment with large pages.

Now, the VA is allocated dynamically in the pmap bootstrap code, and entered
manually later. We go from using &local_apic to using *local_apic_va, and we
therefore need one more level of indirection in the asm code.

Discussed on tech-kern.

To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/amd64/amd64/vector.S
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amd64/include/i82093reg.h
cvs rdiff -u -r1.140 -r1.141 src/sys/arch/i386/i386/locore.S
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/i386/i386/vector.S
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/i386/include/i82093reg.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/include/i82489var.h
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/x86/x86/lapic.c
cvs rdiff -u -r1.227 -r1.228 src/sys/arch/x86/x86/pmap.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