[haiku-commits] haiku: hrev54007 - in src/system/boot/platform: openfirmware atari_m68k amiga_m68k u-boot

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 23 Mar 2020 14:30:01 -0400 (EDT)

hrev54007 adds 1 changeset to branch 'master'
old head: bed01fe356073cdf7b4a160c896ed906347b2d4f
new head: 39a7a69b07164907ed3f706b722ef03141543d00
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=39a7a69b0716+%5Ebed01fe35607

----------------------------------------------------------------------------

39a7a69b0716: boot_loader: add missing stubs
  
  u_boot build still broken
  
  Change-Id: Iba93ce7bf0d5c30a95ff98420a2e419eb28bb398
  Reviewed-on: https://review.haiku-os.org/c/haiku/+/2412
  Reviewed-by: Adrien Destugues <pulkomandy@xxxxxxxxx>

                                   [ Jérôme Duval <jerome.duval@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev54007
Commit:      39a7a69b07164907ed3f706b722ef03141543d00
URL:         https://git.haiku-os.org/haiku/commit/?id=39a7a69b0716
Author:      Jérôme Duval <jerome.duval@xxxxxxxxx>
Date:        Mon Mar 23 17:42:57 2020 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Mon Mar 23 18:29:56 2020 UTC

----------------------------------------------------------------------------

5 files changed, 32 insertions(+)
src/system/boot/platform/amiga_m68k/cpu.cpp   |  6 ++++++
src/system/boot/platform/atari_m68k/cpu.cpp   |  6 ++++++
src/system/boot/platform/openfirmware/Jamfile |  1 +
src/system/boot/platform/openfirmware/cpu.cpp | 14 ++++++++++++++
src/system/boot/platform/u-boot/cpu.cpp       |  5 +++++

----------------------------------------------------------------------------

diff --git a/src/system/boot/platform/amiga_m68k/cpu.cpp 
b/src/system/boot/platform/amiga_m68k/cpu.cpp
index 5432f1d87d..cb5ecea08f 100644
--- a/src/system/boot/platform/amiga_m68k/cpu.cpp
+++ b/src/system/boot/platform/amiga_m68k/cpu.cpp
@@ -105,3 +105,9 @@ cpu_init()
                // ...or not!
 }
 
+
+extern "C" void
+platform_load_ucode(BootVolume& volume)
+{
+}
+
diff --git a/src/system/boot/platform/atari_m68k/cpu.cpp 
b/src/system/boot/platform/atari_m68k/cpu.cpp
index 77fb691262..2ea87f560d 100644
--- a/src/system/boot/platform/atari_m68k/cpu.cpp
+++ b/src/system/boot/platform/atari_m68k/cpu.cpp
@@ -130,3 +130,9 @@ cpu_init()
                // ...or not!
 }
 
+
+extern "C" void
+platform_load_ucode(BootVolume& volume)
+{
+}
+
diff --git a/src/system/boot/platform/openfirmware/Jamfile 
b/src/system/boot/platform/openfirmware/Jamfile
index abb425943f..3a740de1b8 100644
--- a/src/system/boot/platform/openfirmware/Jamfile
+++ b/src/system/boot/platform/openfirmware/Jamfile
@@ -12,6 +12,7 @@ UsePrivateHeaders [ FDirName graphics common ] ;
 }
 
 local platform_src =
+       cpu.cpp
        console.cpp
        debug.cpp
        devices.cpp
diff --git a/src/system/boot/platform/openfirmware/cpu.cpp 
b/src/system/boot/platform/openfirmware/cpu.cpp
new file mode 100644
index 0000000000..634303a214
--- /dev/null
+++ b/src/system/boot/platform/openfirmware/cpu.cpp
@@ -0,0 +1,14 @@
+/*
+ * Copyright 2020, Jérôme Duval, jerome.duval@xxxxxxxxx. All rights reserved.
+ * Distributed under the terms of the MIT License.
+*/
+
+
+#include <boot/platform.h>
+
+
+extern "C" void
+platform_load_ucode(BootVolume& volume)
+{
+}
+
diff --git a/src/system/boot/platform/u-boot/cpu.cpp 
b/src/system/boot/platform/u-boot/cpu.cpp
index a4e601e20b..0d00874146 100644
--- a/src/system/boot/platform/u-boot/cpu.cpp
+++ b/src/system/boot/platform/u-boot/cpu.cpp
@@ -36,3 +36,8 @@ cpu_init()
                panic("You need a 6502 or higher in order to boot!\n");
 }
 
+
+extern "C" void
+platform_load_ucode(BootVolume& volume)
+{
+}


Other related posts:

  • » [haiku-commits] haiku: hrev54007 - in src/system/boot/platform: openfirmware atari_m68k amiga_m68k u-boot - waddlesplash