chore: fix compilation errors
This commit is contained in:
parent
531ba0c6f5
commit
f458b04ec6
BIN
bin/shade.bin
BIN
bin/shade.bin
Binary file not shown.
BIN
bin/shade.iso
BIN
bin/shade.iso
Binary file not shown.
|
@ -4,6 +4,15 @@
|
|||
#include <shade/cansid.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/**
|
||||
* @brief A type to represent a printable char
|
||||
*
|
||||
*/
|
||||
typedef struct tty_ochar_struct {
|
||||
char character;
|
||||
char style;
|
||||
} tty_ochar_t;
|
||||
|
||||
/**
|
||||
* @brief A type to represent a tty driver
|
||||
*
|
||||
|
@ -43,17 +52,8 @@ typedef struct tty_struct {
|
|||
bool active;
|
||||
} tty_t;
|
||||
|
||||
/**
|
||||
* @brief A type to represent a printable char
|
||||
*
|
||||
*/
|
||||
typedef struct tty_ochar_struct {
|
||||
char character;
|
||||
char style;
|
||||
} tty_ochar_t;
|
||||
|
||||
tty_t ttys[10];
|
||||
int active_tty;
|
||||
static tty_t ttys[10];
|
||||
static int active_tty;
|
||||
|
||||
/**
|
||||
* @brief Create a new tty_t with the provided driver
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// This file was autogenerated by the shadeOS build system. It should not be modified.
|
||||
#define SHADE_OS_KERNEL_VERSION "0.1.1-alpha"
|
||||
#define SHADE_OS_KERNEL "shade-development"
|
||||
#define SHADE_OS_BUILD "02abf37"
|
||||
#define SHADE_OS_COMPILE_DATE "Tue May 17 08:32:53 AM EDT 2022"
|
||||
#define SHADE_OS_BUILD "531ba0c"
|
||||
#define SHADE_OS_COMPILE_DATE "Tue May 17 10:46:28 AM EDT 2022"
|
||||
#define SHADE_OS_CODENAME "willow"
|
||||
#endif
|
||||
|
|
Binary file not shown.
|
@ -68,12 +68,20 @@ void tty_mvpchar(int tty, char c, int x, int y) {
|
|||
}
|
||||
|
||||
// tty_pnl family
|
||||
void tty_pnl(int tty);
|
||||
void tty_mvpnl(int tty, int x, int y);
|
||||
void tty_pnl(int tty) {
|
||||
return;
|
||||
}
|
||||
void tty_mvpnl(int tty, int x, int y) {
|
||||
return;
|
||||
}
|
||||
|
||||
// tty_clr family
|
||||
void tty_clr(int tty); // clear entire screen
|
||||
void tty_clrl(int tty, int line); // clear a line
|
||||
void tty_clr(int tty) {
|
||||
return;
|
||||
}
|
||||
void tty_clrl(int tty, int line) {
|
||||
return;
|
||||
}
|
||||
|
||||
void tty_setcurxy(int tty, int x, int y) {
|
||||
ttys[tty].cursor_col = x;
|
||||
|
|
Loading…
Reference in New Issue