vga now working with term and shell program
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user