[coreboot-gerrit] New patch to review for coreboot: 9c11d3e smm: Remove dead smm_tseg.ld

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Fri May 29 10:00:56 CEST 2015


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10365

-gerrit

commit 9c11d3e568168c54c78a95245645354be1a945e5
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Fri May 29 10:00:36 2015 +0200

    smm: Remove dead smm_tseg.ld
    
    Change-Id: I231e59d3b9c3ebf6e058917613221892fc880fa1
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/cpu/x86/smm/smm_tseg.ld | 79 ---------------------------------------------
 1 file changed, 79 deletions(-)

diff --git a/src/cpu/x86/smm/smm_tseg.ld b/src/cpu/x86/smm/smm_tseg.ld
deleted file mode 100644
index 49c1a32..0000000
--- a/src/cpu/x86/smm/smm_tseg.ld
+++ /dev/null
@@ -1,79 +0,0 @@
-/* Maximum number of CPUs/cores */
-CPUS = 16;
-ENTRY(smm_handler_start);
-
-SECTIONS
-{
-	/* This is the actual SMM handler.
-	 *
-	 * We just put code, rodata, data and bss all in a row.
-	 */
-	.handler (.): {
-		/* Assembler stub */
-		*(.handler)
-	}
-
-	/* We are using the TSEG interleaved to stuff the SMM handlers
-	 * for all CPU cores in there. The jump table redirects the execution
-	 * to the actual SMM handler
-	 */
-	. = 0x8000 - (( CPUS - 1) * 0x400);
-	.jumptable : {
-		KEEP(*(.jumptable));
-	}
-
-	/* Data used in early SMM TSEG handler. */
-	. = 0x8400;
-	.earlydata : {
-		*(.earlydata)
-	}
-
-	/* 16KB for the heap at 64KB */
-	. = 0x10000;
-	.heap : {
-		_program = .;
-		_heap = .;
-		. = 0x4000;
-		_eheap = .;
-	}
-
-	. = ALIGN(0x4000);
-	.smm_c_handler : {
-		_smm_c_handler_start = .;
-
-		/* C code of the SMM handler */
-		*(.text);
-		*(.text.*);
-
-		/* C read-only data of the SMM handler */
-		. = ALIGN(16);
-		*(.rodata)
-		*(.rodata.*)
-		*(.data.rel.ro.*)
-
-		/* C read-write data of the SMM handler */
-		 . = ALIGN(4);
-		*(.data)
-		*(.data.*)
-
-		/* C uninitialized data of the SMM handler */
-		 . = ALIGN(4);
-		*(.bss)
-		*(.bss.*)
-		*(.sbss)
-		*(.sbss.*)
-		*(COMMON)
-		 . = ALIGN(4);
-
-		_smm_c_handler_end = .;
-		_eprogram = .;
-	}
-
-	/DISCARD/ : {
-		*(.comment)
-		*(.note)
-		*(.note.*)
-		*(.eh_frame)
-		*(.debug_*)
-	}
-}



More information about the coreboot-gerrit mailing list