From d58671c4bfc0376e288cb0f2936bd43d8cfbb48e Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Tue, 17 Feb 2009 21:38:51 +0000 Subject: Add QWord support to acpigen. Add TOM2 to the K8 DSDT. Thanks to Rudolf Marek for testing and fixing this patch. Signed-off-by: Carl-Daniel Hailfinger Signed-off-by: Rudolf Marek Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3953 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/amdk8_acpi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/northbridge') diff --git a/src/northbridge/amd/amdk8/amdk8_acpi.c b/src/northbridge/amd/amdk8/amdk8_acpi.c index 2d56a4f605..ca71c379d7 100644 --- a/src/northbridge/amd/amdk8/amdk8_acpi.c +++ b/src/northbridge/amd/amdk8/amdk8_acpi.c @@ -302,6 +302,8 @@ int k8acpi_write_vars(void) lens += acpigen_write_name_dword("SBDN", sysconf.sbdn); msr = rdmsr(TOP_MEM); lens += acpigen_write_name_dword("TOM1", msr.lo); + msr = rdmsr(TOP_MEM2); + lens += acpigen_write_name_qword("TOM2", (((uint64_t) msr.hi) << 32) | msr.lo); lens += k8acpi_write_HT(); //minus opcode -- cgit v1.2.3