Changeset 9979acb in mainline for kernel/genarch/include
- Timestamp:
- 2009-02-20T17:19:03Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c9b550b
- Parents:
- 5c06c1c
- Location:
- kernel/genarch/include/drivers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/drivers/ega/ega.h
r5c06c1c r9979acb 27 27 */ 28 28 29 /** @addtogroup genarch_drivers 29 /** @addtogroup genarch_drivers 30 30 * @{ 31 31 */ … … 38 38 #include <arch/types.h> 39 39 40 #define ROW 80 41 #define ROWS 25 42 #define SCREEN (ROW * ROWS) 40 #define EGA_COLS 80 41 #define EGA_ROWS 25 42 #define EGA_SCREEN (EGA_COLS * EGA_ROWS) 43 #define EGA_VRAM_SIZE (2 * EGA_SCREEN) 43 44 44 45 /* EGA device registers. */ 45 #define EGA_INDEX_REG 46 #define EGA_DATA_REG 46 #define EGA_INDEX_REG 0 47 #define EGA_DATA_REG 1 47 48 48 49 extern void ega_redraw(void); -
kernel/genarch/include/drivers/legacy/ia32/io.h
r5c06c1c r9979acb 31 31 */ 32 32 /** @file 33 * @brief 34 * ia32 legacy I/O space (i.e. ia32, amd64 and ia64).33 * @brief This file contains definitions used by architectures with the 34 * ia32 legacy I/O space (i.e. ia32, amd64 and ia64). 35 35 */ 36 36 … … 40 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 45 #define EGA_BASE ((ioport8_t *)0x3d4) 46 47 #define NS16550_BASE ((ioport8_t *)0x3f8) 46 #define EGA_VIDEORAM 0xb8000 48 47 49 48 #endif
Note:
See TracChangeset
for help on using the changeset viewer.