feat: Integrate LVGL v8.3 desktop GUI, PS/2 mouse driver, live system monitor, and make gui target
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#define SYS_PROC_LIST 18 /* Query active kernel thread list */
|
||||
#define SYS_PROC_SPAWN 19 /* Dynamically load and run ELF process */
|
||||
#define SYS_DMA_ALLOC 20 /* Allocate physical DMA buffer */
|
||||
#define SYS_MOUSE_GET 21 /* Query PS/2 mouse coordinates and buttons */
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
|
||||
@@ -30,6 +31,12 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct mouse_data {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
uint32_t buttons; /* bit 0 = Left, bit 1 = Right, bit 2 = Middle */
|
||||
} mouse_data_t;
|
||||
|
||||
typedef struct thread_info {
|
||||
uint64_t tid;
|
||||
char name[32];
|
||||
@@ -52,6 +59,7 @@ typedef struct fb_info_data {
|
||||
uint64_t pitch;
|
||||
uint32_t bpp;
|
||||
} fb_info_data_t;
|
||||
typedef fb_info_data_t fb_info_t;
|
||||
|
||||
typedef struct sysinfo_data {
|
||||
uint64_t uptime_ticks;
|
||||
|
||||
Reference in New Issue
Block a user