Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3939 → Rev 3940

/trunk/kernel/genarch/include/drivers/legacy/ia32/io.h
30,8 → 30,8
* @{
*/
/** @file
* @brief This file contains definitions used by architectures with the
* ia32 legacy I/O space (i.e. ia32, amd64 and ia64).
* @brief This file contains definitions used by architectures with the
* ia32 legacy I/O space (i.e. ia32, amd64 and ia64).
*/
 
#ifndef KERN_LEGACY_IA32_IO_H
39,13 → 39,12
 
#include <arch/types.h>
 
#define I8042_BASE ((ioport8_t *)0x60)
#define I8042_BASE ((ioport8_t *) 0x60)
#define EGA_BASE ((ioport8_t *) 0x3d4)
#define NS16550_BASE ((ioport8_t *) 0x3f8)
 
#define EGA_VIDEORAM 0xb8000
#define EGA_BASE ((ioport8_t *)0x3d4)
#define EGA_VIDEORAM 0xb8000
 
#define NS16550_BASE ((ioport8_t *)0x3f8)
 
#endif
 
/** @}
/trunk/kernel/genarch/include/drivers/ega/ega.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup genarch_drivers
/** @addtogroup genarch_drivers
* @{
*/
/** @file
37,13 → 37,14
 
#include <arch/types.h>
 
#define ROW 80
#define ROWS 25
#define SCREEN (ROW * ROWS)
#define EGA_COLS 80
#define EGA_ROWS 25
#define EGA_SCREEN (EGA_COLS * EGA_ROWS)
#define EGA_VRAM_SIZE (2 * EGA_SCREEN)
 
/* EGA device registers. */
#define EGA_INDEX_REG 0
#define EGA_DATA_REG 1
#define EGA_INDEX_REG 0
#define EGA_DATA_REG 1
 
extern void ega_redraw(void);
extern void ega_init(ioport8_t *, uintptr_t);