1 /* 2 * Copyright 2018 Haiku Inc. All Rights Reserved. 3 * Copyright 2007, Travis Geiselbrecht. All rights reserved. 4 * Distributed under the terms of the MIT License. 5 */ 6 #ifndef _SYSTEM_COMMPAGE_DEFS_H 7 #define _SYSTEM_COMMPAGE_DEFS_H 8 9 /*! Some systemwide commpage constants, used in the kernel and libroot */ 10 11 /* be careful what you put here, this file is included from assembly */ 12 #define COMMPAGE_ENTRY_MAGIC 0 13 #define COMMPAGE_ENTRY_VERSION 1 14 #define COMMPAGE_ENTRY_REAL_TIME_DATA 2 15 #define COMMPAGE_ENTRY_FIRST_ARCH_SPECIFIC 3 16 17 #define COMMPAGE_SIZE (0x8000) 18 #define COMMPAGE_TABLE_ENTRIES 64 19 20 #define COMMPAGE_SIGNATURE 'COMM' 21 #define COMMPAGE_VERSION 1 22 23 #ifdef COMMPAGE_COMPAT 24 #include <arch/x86/arch_commpage_defs.h> 25 #else 26 #include <arch_commpage_defs.h> 27 #endif 28 29 #endif /* _SYSTEM_COMMPAGE_DEFS_H */ 30