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:
Matheus
2022-08-04 19:28:20 -03:00
parent 947f4b4a06
commit 28710b6aa8
3 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -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;