mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
fb: map as WC
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define _TERM_H
|
||||
|
||||
void term_init();
|
||||
void term_update_framebuffer(void *fb);
|
||||
void term_putchar(char c);
|
||||
void term_write(char *str, size_t count);
|
||||
void term_getsize(size_t *x, size_t *y, size_t *fbx, size_t *fby);
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#define ARCH_MMU_FLAGS_WB 0
|
||||
#define ARCH_MMU_FLAGS_WT (1 << 3)
|
||||
#define ARCH_MMU_FLAGS_UC (1 << 4)
|
||||
#define ARCH_MMU_FLAGS_WC ((1 << 12) | (1 << 3)) // PAT5 (limine sets up the 5th PAT entry as WC)
|
||||
|
||||
#define ARCH_MMU_REQUIRED_FLAGS ARCH_MMU_FLAGS_READ
|
||||
|
||||
|
||||
Reference in New Issue
Block a user