[coreboot-gerrit] New patch to review for coreboot: 8158ff2 crossgcc/acpica: add support for FreeBSD 10.

Idwer Vollering (vidwer@gmail.com) gerrit at coreboot.org
Thu Jan 23 15:36:53 CET 2014


Idwer Vollering (vidwer at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4785

-gerrit

commit 8158ff28ae9348e649a22aa98785995065c4f3a8
Author: Idwer Vollering <vidwer at gmail.com>
Date:   Thu Jan 23 14:30:25 2014 +0100

    crossgcc/acpica: add support for FreeBSD 10.
    
    Copy some lines from the NetBSD include file.
    
    $ file util/crossgcc/xgcc/bin/iasl
    util/crossgcc/xgcc/bin/iasl: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses
    shared libs), for FreeBSD 10.0 (1000510), not stripped
    
    Change-Id: I2bf2b8d71764875dc6180a9eeedaa4b774190e5a
    Signed-off-by: Idwer Vollering <vidwer at gmail.com>
---
 .../patches/acpica-unix-20130626_freebsd-10.patch        | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/util/crossgcc/patches/acpica-unix-20130626_freebsd-10.patch b/util/crossgcc/patches/acpica-unix-20130626_freebsd-10.patch
new file mode 100644
index 0000000..34315fc
--- /dev/null
+++ b/util/crossgcc/patches/acpica-unix-20130626_freebsd-10.patch
@@ -0,0 +1,16 @@
+diff -ur acpica-unix-20130626/source/include/platform/acfreebsd.h acpica-unix-20130626.patched/source/include/platform/acfreebsd.h
+--- acpica-unix-20130626/source/include/platform/acfreebsd.h	2013-06-26 19:59:47.000000000 +0200
++++ acpica-unix-20130626.patched/source/include/platform/acfreebsd.h	2014-01-23 14:20:38.225400877 +0100
+@@ -123,6 +123,12 @@
+ #include <sys/types.h>
+ #include <machine/acpica_machdep.h>
+ 
++#ifdef _LP64
++#define ACPI_MACHINE_WIDTH      64
++#else
++#define ACPI_MACHINE_WIDTH      32
++#endif
++
+ #define ACPI_UINTPTR_T      uintptr_t
+ 
+ #define ACPI_USE_DO_WHILE_0



More information about the coreboot-gerrit mailing list