Integrate flaterm terminal
This commit is contained in:
17
kernel/term/term.h
Normal file
17
kernel/term/term.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef TERM_TERM_H_
|
||||
#define TERM_TERM_H_
|
||||
|
||||
#include "flanterm.h"
|
||||
#include "flanterm_backends/fb.h"
|
||||
#include "spinlock/spinlock.h"
|
||||
|
||||
typedef struct {
|
||||
SpinLock spinlock;
|
||||
struct flanterm_context *ftctx;
|
||||
} Term;
|
||||
|
||||
extern Term TERM;
|
||||
|
||||
void term_init(void);
|
||||
|
||||
#endif // TERM_TERM_H_
|
Reference in New Issue
Block a user