Subversion Repositories HelenOS

Rev

Rev 3934 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3934 Rev 3940
Line 28... Line 28...
28
 
28
 
29
/** @addtogroup ia32
29
/** @addtogroup ia32
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 * @brief   This file contains definitions used by architectures with the
33
 * @brief This file contains definitions used by architectures with the
34
 *      ia32 legacy I/O space (i.e. ia32, amd64 and ia64).
34
 *        ia32 legacy I/O space (i.e. ia32, amd64 and ia64).
35
 */
35
 */
36
 
36
 
37
#ifndef KERN_LEGACY_IA32_IO_H
37
#ifndef KERN_LEGACY_IA32_IO_H
38
#define KERN_LEGACY_IA32_IO_H
38
#define KERN_LEGACY_IA32_IO_H
39
 
39
 
40
#include <arch/types.h>
40
#include <arch/types.h>
41
 
41
 
42
#define I8042_BASE  ((ioport8_t *)0x60)
42
#define I8042_BASE    ((ioport8_t *) 0x60)
-
 
43
#define EGA_BASE      ((ioport8_t *) 0x3d4)
-
 
44
#define NS16550_BASE  ((ioport8_t *) 0x3f8)
43
 
45
 
44
#define EGA_VIDEORAM    0xb8000
46
#define EGA_VIDEORAM  0xb8000
45
#define EGA_BASE    ((ioport8_t *)0x3d4)
-
 
46
 
-
 
47
#define NS16550_BASE    ((ioport8_t *)0x3f8)
-
 
48
 
47
 
49
#endif
48
#endif
50
 
49
 
51
/** @}
50
/** @}
52
 */
51
 */