Index: kernel/genarch/include/drivers/ega/ega.h
===================================================================
--- kernel/genarch/include/drivers/ega/ega.h	(revision 013c4d666a79f5b3ee840b780dc07c7530965584)
+++ kernel/genarch/include/drivers/ega/ega.h	(revision 9446f39954821a64d8b4c4a6a6b597fa101b555f)
@@ -27,5 +27,5 @@
  */
 
-/** @addtogroup genarch_drivers	
+/** @addtogroup genarch_drivers
  * @{
  */
@@ -38,11 +38,12 @@
 #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);
Index: kernel/genarch/include/drivers/legacy/ia32/io.h
===================================================================
--- kernel/genarch/include/drivers/legacy/ia32/io.h	(revision 013c4d666a79f5b3ee840b780dc07c7530965584)
+++ kernel/genarch/include/drivers/legacy/ia32/io.h	(revision 9446f39954821a64d8b4c4a6a6b597fa101b555f)
@@ -31,6 +31,6 @@
  */
 /** @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).
  */
 
@@ -40,10 +40,9 @@
 #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 NS16550_BASE	((ioport8_t *)0x3f8)
+#define EGA_VIDEORAM  0xb8000
 
 #endif
