boot/arm: move system_time and spin to platform
Add fake implementation for system_time() Implement spin() using EFI boot services Change-Id: Ib69b851780bd03624ce4e19d725dd319f6640601 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4964 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Fredrik Holmqvist <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
b50868d0d6
commit
acb424c8b7
@@ -1,9 +1,9 @@
|
||||
/*
|
||||
* Copyright 2013-2020 Haiku, Inc. All rights reserved.
|
||||
* Copyright 2013-2022 Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef EFI_BOOT_PLATFORM_EFI_ARCH_CPU_H
|
||||
#define EFI_BOOT_PLATFORM_EFI_ARCH_CPU_H
|
||||
#ifndef BOOT_ARCH_CPU_H
|
||||
#define BOOT_ARCH_CPU_H
|
||||
|
||||
|
||||
#include <SupportDefs.h>
|
||||
@@ -17,9 +17,12 @@ extern "C" {
|
||||
status_t boot_arch_cpu_init(void);
|
||||
void arch_ucode_load(BootVolume& volume);
|
||||
|
||||
bigtime_t system_time();
|
||||
void spin(bigtime_t microseconds);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* EFI_BOOT_PLATFORM_EFI_ARCH_CPU_H */
|
||||
#endif /* BOOT_ARCH_CPU_H */
|
||||
|
||||
Reference in New Issue
Block a user