297f29f6ae95a959e8e9fff90658d65cd37612ac
1 /******************************************************************************
3 * Name: aclinux.h - OS specific defines, etc.
6 *****************************************************************************/
9 * Copyright (C) 2000, 2001 R. Byron Moore
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #define ACPI_OS_NAME "ReactOS"
30 #define DEFINE_ALTERNATE_TYPES
32 #undef ACPI_USE_SYSTEM_CLIBRARY
36 #include <linux/config.h>
37 #include <linux/string.h>
38 #include <linux/kernel.h>
39 #include <linux/ctype.h>
40 #include <asm/system.h>
41 #include <asm/atomic.h>
42 #include <asm/div64.h>
50 /* ReactOS uses GCC */
55 #define disable() __asm__("cli\n\t");
57 #define enable() __asm__("sti\n\t");
59 #undef DEBUGGER_THREADING
60 #define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED
63 /* Linux ia32 can't do int64 well */
64 #define ACPI_NO_INTEGER64_SUPPORT
65 /* And the ia32 kernel doesn't include 64-bit divide support */
66 #define ACPI_DIV64(dividend, divisor) do_div(dividend, divisor)
68 #define ACPI_DIV64(dividend, divisor) ACPI_DIVIDE(dividend, divisor)
71 #endif /* __ACWIN_H__ */