diff options
Diffstat (limited to 'arch/x86/machine/cga.h')
-rw-r--r-- | arch/x86/machine/cga.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/x86/machine/cga.h b/arch/x86/machine/cga.h index 2310bc91..2708ec4d 100644 --- a/arch/x86/machine/cga.h +++ b/arch/x86/machine/cga.h @@ -21,10 +21,7 @@ #ifndef _X86_CGA_H #define _X86_CGA_H -/* - * Initialize the cga module. - */ -void cga_setup(void); +#include <kern/init.h> /* * Append a character to the CGA screen. @@ -37,4 +34,10 @@ void cga_putc(char c); void cga_cursor_left(void); void cga_cursor_right(void); +/* + * This init operation provides : + * - module fully initialized + */ +INIT_OP_DECLARE(cga_setup); + #endif /* _X86_CGA_H */ |