xref: /haiku/headers/private/kernel/arch/x86/bios.h (revision f2b4344867e97c3f4e742a1b4a15e6879644601a)
1 /*
2  * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef ARCH_x86_BIOS_H
6 #define ARCH_x86_BIOS_H
7 
8 
9 #include <SupportDefs.h>
10 
11 
12 #define BIOS32_PCI_SERVICE	'ICP$'
13 
14 struct bios32_service {
15 	uint32	base;
16 	uint32	size;
17 	uint32	offset;
18 };
19 
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 status_t get_bios32_service(uint32 identifier, struct bios32_service *service);
26 status_t bios_init(void);
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif	/* ARCH_x86_BIOS_H */
33