From 597b9e9d71a2dd728e4192fa9a083004c96cdfbc Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 19 Apr 2022 20:48:42 +0200 Subject: cpu/x86/64bit: Generate static page tables from an assembly file This removes the need for a tool to generate simple identity pages. Future patches will link this page table directly into the stages on some platforms so having an assembly file makes a lot of sense. This also optimizes the size of the page of each 4K page by placing the PDPE_table below the PDE. Change-Id: Ia1e31b701a2584268c85d327bf139953213899e3 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/63725 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- util/pgtblgen/Makefile.inc | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 util/pgtblgen/Makefile.inc (limited to 'util/pgtblgen/Makefile.inc') diff --git a/util/pgtblgen/Makefile.inc b/util/pgtblgen/Makefile.inc deleted file mode 100644 index 08fb6209e5..0000000000 --- a/util/pgtblgen/Makefile.inc +++ /dev/null @@ -1,19 +0,0 @@ -ifeq ($(CONFIG_ARCH_BOOTBLOCK_X86_64),y) - -PGTBLGEN:= $(obj)/pgtblgen - -cbfs-files-y += pagetables -pagetables-file := $(obj)/mainboard/$(MAINBOARDDIR)/pagetables -pagetables-type := raw -pagetables-compression := none -pagetables-COREBOOT-position := $(CONFIG_ARCH_X86_64_PGTBL_LOC) - -$(obj)/mainboard/$(MAINBOARDDIR)/pagetables: $(PGTBLGEN) $(obj)/config.h - printf " TOOL Creating page tables\n" - $(PGTBLGEN) -b $(CONFIG_ARCH_X86_64_PGTBL_LOC) -a x86_64 -o $@ - -$(PGTBLGEN): util/pgtblgen/pgtblgen.c - printf " MAKE Creating PGTBLGEN tool\n" - $(HOSTCC) -std=c99 $< -I$(obj) -o $@ - -endif -- cgit v1.2.3