Make UEFI boot-platform build again
[haiku.git] / headers / private / system / arch / x86 / apm_defs.h
blob88a9187e5669325eacc3b29990f4b8152771c600
1 /*
2 * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef SYSTEM_ARCH_X86_APM_DEFS_H
6 #define SYSTEM_ARCH_X86_APM_DEFS_H
9 #include <SupportDefs.h>
12 // temporary generic syscall interface
13 #define APM_SYSCALLS "apm"
14 #define APM_GET_BATTERY_INFO 1
16 struct apm_battery_info {
17 bool online;
18 int32 percent;
19 time_t time_left;
23 #endif /* SYSTEM_ARCH_X86_APM_DEFS_H */