1 /* 2 * Copyright 2013-2022 Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef BOOT_ARCH_CPU_H 6 #define BOOT_ARCH_CPU_H 7 8 9 #include <SupportDefs.h> 10 #include <boot/vfs.h> 11 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 status_t boot_arch_cpu_init(void); 18 void arch_ucode_load(BootVolume& volume); 19 20 bigtime_t system_time(); 21 void spin(bigtime_t microseconds); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 28 #endif /* BOOT_ARCH_CPU_H */ 29