Source-Changes archive

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

CVS commit: src/sys/arch/aarch64



Module Name:    src
Committed By:   ryo
Date:           Thu Oct  4 23:53:14 UTC 2018

Modified Files:
        src/sys/arch/aarch64/aarch64: aarch64_machdep.c locore.S pmap.c
        src/sys/arch/aarch64/conf: files.aarch64
        src/sys/arch/aarch64/include: pmap.h
Added Files:
        src/sys/arch/aarch64/aarch64: pmapboot.c

Log Message:
cleanup locore, and changed the way to map memories during boot.
- add functions bootpage_enter() and bootpage_alloc() to adapt various layout
  of physical memory map. especially for 64bit physical memory layout.
  pmapboot_alloc() allocates pagetable pages from _end[].
- changed to map only the required amount for PA=VA identity mapping
  (kernel image, UART device, and FDT blob) with L2_BLOCK(2Mbyte).
- changing page permission for kernel image, and making KSEG mapping are done
  at cpu_kernel_vm_init() instead of at locore.
- optimize PTE entries with PTE Contiguous bit. it is enabled on devmap only for now.

reviewed by skrll@, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/aarch64/aarch64/aarch64_machdep.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/aarch64/aarch64/locore.S
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/aarch64/aarch64/pmapboot.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/conf/files.aarch64
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/aarch64/include/pmap.h

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