Fix platform.h for C compilation
Allow platform.h to be used by POC files Change-Id: I809749422e12f4c4b2c616ca0994b158f3cd054c Reviewed-on: https://review.haiku-os.org/c/haiku/+/4251 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
64f088f495
commit
3f38072551
@@ -106,7 +106,7 @@ cpu_init()
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
void
|
||||
platform_load_ucode(BootVolume& volume)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ cpu_init()
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
void
|
||||
platform_load_ucode(BootVolume& volume)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ cpu_init()
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
void
|
||||
platform_load_ucode(BootVolume& volume)
|
||||
{
|
||||
arch_ucode_load(volume);
|
||||
|
||||
@@ -48,7 +48,7 @@ cpu_init()
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
void
|
||||
platform_load_ucode(BootVolume& volume)
|
||||
{
|
||||
arch_ucode_load(volume);
|
||||
|
||||
@@ -87,7 +87,7 @@ cpu_init()
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
void
|
||||
platform_load_ucode(BootVolume& volume)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <boot/platform.h>
|
||||
|
||||
|
||||
extern "C" void
|
||||
void
|
||||
platform_load_ucode(BootVolume& volume)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ cpu_init()
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
void
|
||||
platform_load_ucode(BootVolume& volume)
|
||||
{
|
||||
// we have no ucode
|
||||
|
||||
@@ -37,7 +37,7 @@ cpu_init()
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
void
|
||||
platform_load_ucode(BootVolume& volume)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user