25 lines
366 B
C
25 lines
366 B
C
// console.h
|
|
// Author: Josh Holtrop
|
|
// Date: 08/02/04
|
|
|
|
#ifndef __HOS_CONSOLE__
|
|
#define __HOS_CONSOLE__ __HOS_CONSOLE__
|
|
|
|
#include "hos_defines.h"
|
|
#include "fs/devices.h"
|
|
|
|
typedef struct
|
|
{
|
|
u32_t cursorPosition;
|
|
u16_t width;
|
|
u16_t height;
|
|
u8_t attribute;
|
|
u16_t *buffer;
|
|
} console_t;
|
|
|
|
int console_new(minor_t minor);
|
|
void console_outb(minor_t id, int c);
|
|
|
|
#endif
|
|
|