diff options
author | Richard Braun <rbraun@sceen.net> | 2017-07-13 20:07:07 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-07-13 20:07:07 +0200 |
commit | b2ad7d862388558556288877a65f2797528168f4 (patch) | |
tree | 4d3080abf0cbcca7c058cba5cad2ed71e5d5e1e5 /arch/x86/machine/atcons.h | |
parent | cacd797c0c1825301f21aab18a7ce2c410d14535 (diff) |
Switch to initialization operations
Diffstat (limited to 'arch/x86/machine/atcons.h')
-rw-r--r-- | arch/x86/machine/atcons.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/arch/x86/machine/atcons.h b/arch/x86/machine/atcons.h index d6923df..0d4893a 100644 --- a/arch/x86/machine/atcons.h +++ b/arch/x86/machine/atcons.h @@ -21,17 +21,7 @@ #ifndef _X86_ATCONS_H #define _X86_ATCONS_H -/* - * Early initialization of the atcons module. - */ -void atcons_bootstrap(void); - -/* - * Initialize the atcons module. - * - * This function enables keyboard interrupt handling. - */ -void atcons_setup(void); +#include <kern/init.h> /* * Console interrupt handler. @@ -49,4 +39,17 @@ void atcons_bottom(void); void atcons_right(void); void atcons_up(void); +/* + * This init operation provides : + * - CGA output through the console module + */ +INIT_OP_DECLARE(atcons_bootstrap); + +/* + * This init operation provides : + * - AT keyboard input through the console module + * - module fully initialized + */ +INIT_OP_DECLARE(atcons_setup); + #endif /* _X86_ATCONS_H */ |