[coreboot-gerrit] New patch to review for coreboot: 1f9376a ARMv4: Add a minimal version of cpu.h.

Isaac Christensen (isaac.christensen@se-eng.com) gerrit at coreboot.org
Wed Sep 3 23:45:07 CEST 2014


Isaac Christensen (isaac.christensen at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6831

-gerrit

commit 1f9376a0165568fcb4281c1a00dfdb5d89267301
Author: Gabe Black <gabeblack at google.com>
Date:   Thu Oct 3 19:18:44 2013 -0700

    ARMv4: Add a minimal version of cpu.h.
    
    All this version does is define asmlinkage to be nothing. It's required by the
    threading header file which is brought in by the timer implementation which I
    think is the hook for thread switching.
    
    Change-Id: Id57261d7c2c5ff8be00b0ad71bf7aaa9f3e24c1d
    Signed-off-by: Gabe Black <gabeblack at google.com>
    Reviewed-on: https://chromium-review.googlesource.com/171801
    Reviewed-by: Ronald Minnich <rminnich at chromium.org>
    Tested-by: Gabe Black <gabeblack at chromium.org>
    Commit-Queue: Gabe Black <gabeblack at chromium.org>
    (cherry picked from commit e00379f54802066fd3e0685b291cdec289078055)
    Signed-off-by: Isaac Christensen <isaac.christensen at se-eng.com>
---
 src/arch/arm/include/armv4/arch/cpu.h | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/src/arch/arm/include/armv4/arch/cpu.h b/src/arch/arm/include/armv4/arch/cpu.h
new file mode 100644
index 0000000..48f913e
--- /dev/null
+++ b/src/arch/arm/include/armv4/arch/cpu.h
@@ -0,0 +1,25 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2012 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
+ */
+
+#ifndef __ARCH_CPU_H__
+#define __ARCH_CPU_H__
+
+#define asmlinkage
+
+#endif /* __ARCH_CPU_H__ */



More information about the coreboot-gerrit mailing list