vga now working with term and shell program

This commit is contained in:
2026-07-16 23:19:54 -05:00
parent 3246dbbd19
commit b6681b74c9
12 changed files with 196 additions and 53 deletions

View File

@@ -247,7 +247,7 @@ void* clone_current_pd() {
uint32_t pte_src = pt_src[j];
if (!(pte_src & PAGE_PRESENT)) continue;
if (!(pte_src & PAGE_WRITABLE)) {
if (!(pte_src & PAGE_WRITABLE) || (pte_src & PAGE_MMIO)) {
pt_dst[j] = pt_src[j];
continue;
}

View File

@@ -7,6 +7,7 @@
#define PAGE_WRITABLE (1 << 1)
#define PAGE_USER (1 << 2)
#define PAGE_COW (1 << 9)
#define PAGE_MMIO (1 << 10)
#define TEMP_KERNPD_VADDR 0xDFF90000
#define TEMP_TASKPD_VADDR 0xDFFA0000