mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
[console] Remove never-used putline() method
putline() was introduced back in 2007 for a feature that was never committed. No console driver implements it and no code calls it, so remove it from struct console_driver. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -32,10 +32,10 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
|||||||
struct console_driver {
|
struct console_driver {
|
||||||
/** Console is disabled.
|
/** Console is disabled.
|
||||||
*
|
*
|
||||||
* The console's putchar(), putline(), getchar() and iskey()
|
* The console's putchar(), getchar() and iskey() methods will
|
||||||
* methods will not be called while #disabled==1. Typically
|
* not be called while #disabled==1. Typically the console's
|
||||||
* the console's initialisation functions will set #disabled=0
|
* initialisation functions will set #disabled=0 upon
|
||||||
* upon completion.
|
* completion.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
int disabled;
|
int disabled;
|
||||||
@@ -49,17 +49,6 @@ struct console_driver {
|
|||||||
*/
|
*/
|
||||||
void ( *putchar ) ( int character );
|
void ( *putchar ) ( int character );
|
||||||
|
|
||||||
/** Write an entire line to the console.
|
|
||||||
* This is intended to be used by line-oriented output media,
|
|
||||||
* like system logging facilities or line printers.
|
|
||||||
* Line output will not contain non-printable characters.
|
|
||||||
*
|
|
||||||
* @v linebuffer Pointer to the \0-terminated line
|
|
||||||
* @ret None -
|
|
||||||
* @err None -
|
|
||||||
*/
|
|
||||||
void ( * putline ) ( unsigned char * linebuffer );
|
|
||||||
|
|
||||||
/** Read a character from the console.
|
/** Read a character from the console.
|
||||||
*
|
*
|
||||||
* @v None -
|
* @v None -
|
||||||
|
|||||||
Reference in New Issue
Block a user