mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 14:38:21 +00:00
Fix a few issues
Panics in a few ISRs did not include registers. Removed a dot in panic string. Fixed an issue that would cause the system to page fault inside the vmm_dealwithrequest() function.
This commit is contained in:
+4
-1
@@ -439,12 +439,15 @@ bool vmm_map(void* paddr, void* vaddr, size_t pagec, size_t mmuflags){
|
||||
bool vmm_dealwithrequest(void* addr){
|
||||
|
||||
int* lock;
|
||||
vmm_mapping** start;
|
||||
vmm_mapping** start = NULL;
|
||||
|
||||
getcontextinfo(addr, &lock, &start);
|
||||
|
||||
if(!start) return false;
|
||||
|
||||
spinlock_acquire(lock);
|
||||
|
||||
|
||||
bool status;
|
||||
vmm_mapping* map = findmappingfromaddr(*start, addr);
|
||||
void* paddr;
|
||||
|
||||
Reference in New Issue
Block a user