1 |
/* |
/* |
2 |
* GRUB -- GRand Unified Bootloader |
* GRUB -- GRand Unified Bootloader |
3 |
* Copyright (C) 2002, 2004 Free Software Foundation, Inc. |
* Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. |
4 |
* |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
6 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
33 |
#define GRUB_CONSOLE_KEY_NPAGE 0x4900 |
#define GRUB_CONSOLE_KEY_NPAGE 0x4900 |
34 |
#define GRUB_CONSOLE_KEY_PPAGE 0x5100 |
#define GRUB_CONSOLE_KEY_PPAGE 0x5100 |
35 |
|
|
|
#ifndef ASM_FILE |
|
|
|
|
|
#include <grub/types.h> |
|
|
#include <grub/symbol.h> |
|
|
|
|
|
/* These are global to share code between C and asm. */ |
|
|
extern grub_uint8_t grub_console_cur_color; |
|
|
void grub_console_real_putchar (int c); |
|
|
int EXPORT_FUNC(grub_console_checkkey) (void); |
|
|
int EXPORT_FUNC(grub_console_getkey) (void); |
|
|
grub_uint16_t grub_console_getxy (void); |
|
|
void grub_console_gotoxy (grub_uint8_t x, grub_uint8_t y); |
|
|
void grub_console_cls (void); |
|
|
void grub_console_setcursor (int on); |
|
|
|
|
36 |
/* Initialize the console system. */ |
/* Initialize the console system. */ |
37 |
void grub_console_init (void); |
void grub_console_init (void); |
38 |
|
|
39 |
/* Finish the console system. */ |
/* Finish the console system. */ |
40 |
void grub_console_fini (void); |
void grub_console_fini (void); |
41 |
|
|
|
#endif |
|
|
|
|
42 |
#endif /* ! GRUB_CONSOLE_MACHINE_HEADER */ |
#endif /* ! GRUB_CONSOLE_MACHINE_HEADER */ |