Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11025
-gerrit
commit 57bdfde3fabe625605e4c70d62dfcaee4aa67914
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Tue Jul 21 14:37:13 2015 -0700
f14: Increase AP stack to 8k on 64bit
This has been broken out from http://review.coreboot.org/#/c/10581/
Change-Id: Ia6153115ff75e21657fa8c244c9eb993d0d63772
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
src/vendorcode/amd/agesa/f14/gcccar.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/vendorcode/amd/agesa/f14/gcccar.inc b/src/vendorcode/amd/agesa/f14/gcccar.inc
index 2104c27..8f395ce 100644
--- a/src/vendorcode/amd/agesa/f14/gcccar.inc
+++ b/src/vendorcode/amd/agesa/f14/gcccar.inc
@@ -42,7 +42,11 @@ BSP_STACK_SIZE = 0x10000 /* 64KB for BSP core
CORE0_STACK_BASE_ADDR = 0x80000 /* Base address for primary cores stack */
CORE0_STACK_SIZE = 0x4000 /* 16KB for primary cores */
CORE1_STACK_BASE_ADDR = 0x40000 /* Base address for AP cores */
+#ifdef __x86_64__
+CORE1_STACK_SIZE = 0x2000 /* 8KB for each AP cores */
+#else
CORE1_STACK_SIZE = 0x1000 /* 4KB for each AP cores */
+#endif
APIC_BASE_ADDRESS = 0x0000001B
APIC_BSC = 8 /* Boot Strap Core */
the following patch was just integrated into master:
commit 480c07425c25bb1a708dbe61bbb27325c8a18473
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Thu Jul 30 00:06:15 2015 -0700
Intel Skylake: Whitespace fixes in ACPI
Change-Id: If6df9ad35626669be8f7a2bf1fdf564663ba48c8
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
See http://review.coreboot.org/11077 for details.
-gerrit
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11077
-gerrit
commit 480c07425c25bb1a708dbe61bbb27325c8a18473
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Thu Jul 30 00:06:15 2015 -0700
Intel Skylake: Whitespace fixes in ACPI
Change-Id: If6df9ad35626669be8f7a2bf1fdf564663ba48c8
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
src/soc/intel/skylake/acpi/cpu.asl | 2 +-
src/soc/intel/skylake/acpi/serialio.asl | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/soc/intel/skylake/acpi/cpu.asl b/src/soc/intel/skylake/acpi/cpu.asl
index 5856033..62127ef 100644
--- a/src/soc/intel/skylake/acpi/cpu.asl
+++ b/src/soc/intel/skylake/acpi/cpu.asl
@@ -2,7 +2,7 @@
* This file is part of the coreboot project.
*
* Copyright (C) 2014 Google Inc.
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
diff --git a/src/soc/intel/skylake/acpi/serialio.asl b/src/soc/intel/skylake/acpi/serialio.asl
index 203dbef..62b83e0 100644
--- a/src/soc/intel/skylake/acpi/serialio.asl
+++ b/src/soc/intel/skylake/acpi/serialio.asl
@@ -43,7 +43,7 @@ Method (LPD0, 2, Serialized)
And (SPCS, 0xFFFFFFFC, SPCS)
/* Read back after writing */
- Store (SPCS, Local0)
+ Store (SPCS, Local0)
}
/* Put SerialIO device in D3 state */
@@ -688,7 +688,7 @@ Device (PEMC)
Method (_RMV, 0x0, NotSerialized)
{
Return (0)
- }
+ }
}
}
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11077
-gerrit
commit bef0393db37028d0ad8766ad8735219225142b05
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Thu Jul 30 00:06:15 2015 -0700
Intel Skylake: Whitespace fixes in ACPI
Change-Id: If6df9ad35626669be8f7a2bf1fdf564663ba48c8
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
src/soc/intel/skylake/acpi/cpu.asl | 2 +-
src/soc/intel/skylake/acpi/serialio.asl | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/soc/intel/skylake/acpi/cpu.asl b/src/soc/intel/skylake/acpi/cpu.asl
index 5856033..62127ef 100644
--- a/src/soc/intel/skylake/acpi/cpu.asl
+++ b/src/soc/intel/skylake/acpi/cpu.asl
@@ -2,7 +2,7 @@
* This file is part of the coreboot project.
*
* Copyright (C) 2014 Google Inc.
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
diff --git a/src/soc/intel/skylake/acpi/serialio.asl b/src/soc/intel/skylake/acpi/serialio.asl
index 203dbef..62b83e0 100644
--- a/src/soc/intel/skylake/acpi/serialio.asl
+++ b/src/soc/intel/skylake/acpi/serialio.asl
@@ -43,7 +43,7 @@ Method (LPD0, 2, Serialized)
And (SPCS, 0xFFFFFFFC, SPCS)
/* Read back after writing */
- Store (SPCS, Local0)
+ Store (SPCS, Local0)
}
/* Put SerialIO device in D3 state */
@@ -688,7 +688,7 @@ Device (PEMC)
Method (_RMV, 0x0, NotSerialized)
{
Return (0)
- }
+ }
}
}
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10601
-gerrit
commit f524b45fc3cd0e1135238bfb5bf6201746a96e15
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Fri Jun 19 16:42:58 2015 -0700
cpu/amd: Fix cbtypes.h to match UINTN convention
UINTN maps to uintptr_t in UEFI land. Do the same
here. Also switch the other UEFI types to map to
fixed size types.
Change-Id: Ib46893c7cd5368eae43e9cda30eed7398867ac5b
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Signed-off-by: Scott Duplichan <scott(a)notabs.org>
---
src/include/cpu/amd/common/cbtypes.h | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/src/include/cpu/amd/common/cbtypes.h b/src/include/cpu/amd/common/cbtypes.h
index 346f1a3..6a47e00 100644
--- a/src/include/cpu/amd/common/cbtypes.h
+++ b/src/include/cpu/amd/common/cbtypes.h
@@ -20,16 +20,20 @@
#ifndef _CBTYPES_H_
#define _CBTYPES_H_
-typedef signed long long __int64;
+/* Map coreboot stdint types to AGESA types. */
+
+#include <stdint.h>
+
+typedef int64_t __int64;
typedef void VOID;
-typedef unsigned int UINTN;
-typedef signed char CHAR8;
-typedef unsigned char UINT8;
-typedef unsigned short UINT16;
-typedef unsigned int UINT32;
-typedef signed int INT32;
-typedef unsigned long long UINT64;
-typedef unsigned char BOOLEAN;
+typedef uintptr_t UINTN;
+typedef int8_t CHAR8;
+typedef uint8_t UINT8;
+typedef uint16_t UINT16;
+typedef uint32_t UINT32;
+typedef int32_t INT32;
+typedef uint64_t UINT64;
+typedef uint8_t BOOLEAN;
#define DMSG_SB_TRACE 0x02
#define TRACE(Arguments)