mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Changed include/hal/io.h to halio.h with i386/io.h
svn path=/trunk/; revision=106
This commit is contained in:
parent
b6187e2de7
commit
82d21c903e
12 changed files with 23 additions and 12 deletions
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#undef WIN32_LEAN_AND_MEAN
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
#include <internal/mmhal.h>
|
#include <internal/mmhal.h>
|
||||||
#include <internal/hal/io.h>
|
#include <internal/halio.h>
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <internal/string.h>
|
#include <internal/string.h>
|
||||||
#include <defines.h>
|
#include <defines.h>
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <internal/mmhal.h>
|
#include <internal/mmhal.h>
|
||||||
#include <internal/hal/io.h>
|
#include <internal/halio.h>
|
||||||
#include <internal/hal/ddk.h>
|
/* #include <internal/hal/ddk.h> */
|
||||||
#include <funcs.h>
|
#include <funcs.h>
|
||||||
|
|
||||||
#define MOUSE_IRQ_COM1 4
|
#define MOUSE_IRQ_COM1 4
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
/* INCLUDES ****************************************************************/
|
/* INCLUDES ****************************************************************/
|
||||||
|
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <internal/hal/io.h>
|
#include <internal/halio.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <internal/debug.h>
|
#include <internal/debug.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <internal/mmhal.h>
|
#include <internal/mmhal.h>
|
||||||
#include <internal/hal/io.h>
|
#include <internal/halio.h>
|
||||||
|
|
||||||
#define COM1 0x3F8
|
#define COM1 0x3F8
|
||||||
#define COM2 0x2F8
|
#define COM2 0x2F8
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
/* FUNCTIONS **************************************************************/
|
/* FUNCTIONS **************************************************************/
|
||||||
|
|
||||||
#include <internal/hal/io.h>
|
#include <internal/halio.h>
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <internal/hal/ddk.h>
|
#include <internal/hal/ddk.h>
|
||||||
#include <internal/dma.h>
|
#include <internal/dma.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <internal/kernel.h>
|
#include <internal/kernel.h>
|
||||||
#include <internal/hal/io.h>
|
#include <internal/halio.h>
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <internal/debug.h>
|
#include <internal/debug.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: dma.h,v 1.3 1998/08/25 04:48:36 rex Exp $
|
/* $Id: dma.h,v 1.4 1998/11/29 19:39:40 rex Exp $
|
||||||
* linux/include/asm/dma.h: Defines for using and allocating dma channels.
|
* linux/include/asm/dma.h: Defines for using and allocating dma channels.
|
||||||
* Written by Hennus Bergman, 1992.
|
* Written by Hennus Bergman, 1992.
|
||||||
* High DMA channel support & info by Hannu Savolainen
|
* High DMA channel support & info by Hannu Savolainen
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
#ifndef _ASM_DMA_H
|
#ifndef _ASM_DMA_H
|
||||||
#define _ASM_DMA_H
|
#define _ASM_DMA_H
|
||||||
|
|
||||||
#include <internal/hal/io.h> /* need byte IO */
|
#include <internal/halio.h> /* need byte IO */
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_REALLY_SLOW_DMA_CONTROLLER
|
#ifdef HAVE_REALLY_SLOW_DMA_CONTROLLER
|
||||||
|
|
11
reactos/include/internal/halio.h
Normal file
11
reactos/include/internal/halio.h
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#ifndef __INCLUDE_INTERNAL_HALIO_H
|
||||||
|
#define __INCLUDE_INTERNAL_HALIO_H
|
||||||
|
|
||||||
|
#ifdef i386
|
||||||
|
#include <internal/i386/io.h>
|
||||||
|
#else
|
||||||
|
#error "Unknown processor"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include <internal/string.h>
|
#include <internal/string.h>
|
||||||
|
|
||||||
#include <internal/i386/segment.h>
|
#include <internal/i386/segment.h>
|
||||||
#include <internal/hal/io.h>
|
#include <internal/halio.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <internal/debug.h>
|
#include <internal/debug.h>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <internal/bitops.h>
|
#include <internal/bitops.h>
|
||||||
#include <internal/hal/io.h>
|
#include <internal/halio.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <internal/debug.h>
|
#include <internal/debug.h>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include <internal/ntoskrnl.h>
|
#include <internal/ntoskrnl.h>
|
||||||
#include <internal/string.h>
|
#include <internal/string.h>
|
||||||
#include <internal/mmhal.h>
|
#include <internal/mmhal.h>
|
||||||
#include <internal/hal/io.h>
|
#include <internal/halio.h>
|
||||||
|
|
||||||
//#define BOCHS_DEBUGGING 1
|
//#define BOCHS_DEBUGGING 1
|
||||||
//#define SERIAL_DEBUGGING
|
//#define SERIAL_DEBUGGING
|
||||||
|
|
Loading…
Reference in a new issue