xref: /haiku/headers/private/system/commpage_defs.h (revision f73f5d4c42a01ece688cbb57b5d332cc0f68b2c6)
1 /*
2  * Copyright 2007, Travis Geiselbrecht. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _SYSTEM_COMMPAGE_DEFS_H
6 #define _SYSTEM_COMMPAGE_DEFS_H
7 
8 /*! Some systemwide commpage constants, used in the kernel and libroot */
9 
10 /* be careful what you put here, this file is included from assembly */
11 #define COMMPAGE_ENTRY_MAGIC				0
12 #define COMMPAGE_ENTRY_VERSION				1
13 #define COMMPAGE_ENTRY_REAL_TIME_DATA		2
14 #define COMMPAGE_ENTRY_FIRST_ARCH_SPECIFIC	3
15 
16 #define COMMPAGE_SIZE (0x8000)
17 #define COMMPAGE_TABLE_ENTRIES 64
18 
19 #define COMMPAGE_SIGNATURE 'COMM'
20 #define COMMPAGE_VERSION 1
21 
22 #include <arch_commpage_defs.h>
23 
24 #endif	/* _SYSTEM_COMMPAGE_DEFS_H */
25