cpu/x86: Rename PDE_table
to PDPT
for 1 GiB page mappings
This commit fixes an incorrect variable name in the page table setup for 1 GiB pages. The label PDE_table was used when it should have been PDPT, as it represents a "Page Directory Pointer Table (PDPT)", not a "Page Directory Table (PDT) or PDE_Table". This change ensures correct nomenclature and consistency in the code. PML4 -> PDPT --------> 1GB Physical Page As per x86-64 specification, 1GB pages bypass the Page Directory Table (PDT) level of the page table hierarchy, mapping directly from the Page Directory Pointer (PDPT) Table to the physical page. Change-Id: I1e1064653a265215054f31f0e4e46bf8200ca471 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83100 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
This commit is contained in:
parent
5acdfa23fd
commit
04fd591b08
@ -20,10 +20,10 @@
|
||||
.global PM4LE
|
||||
.align 4096
|
||||
PM4LE:
|
||||
.quad _GEN_DIR(PDE_table)
|
||||
.quad _GEN_DIR(PDPT)
|
||||
|
||||
.align 4096
|
||||
PDE_table: /* identity map 1GiB pages * 512 */
|
||||
PDPT: /* identity map 1GiB pages * 512 */
|
||||
.rept 512
|
||||
.quad _GEN_PAGE(0x40000000 * ((. - PDE_table) >> 3))
|
||||
.quad _GEN_PAGE(0x40000000 * ((. - PDPT) >> 3))
|
||||
.endr
|
||||
|
Loading…
x
Reference in New Issue
Block a user