mirror of
https://github.com/drasko/codezero.git
synced 2026-01-18 13:53:16 +01:00
Debug commit to be removed
This commit is contained in:
@@ -305,6 +305,9 @@ static inline void *l4_map_helper(void *phys, int npages)
|
||||
struct task_ids ids;
|
||||
void *virt = l4_new_virtual(npages);
|
||||
|
||||
if (!phys)
|
||||
BUG();
|
||||
|
||||
l4_getid(&ids);
|
||||
l4_map(phys, virt, npages, MAP_USR_RW_FLAGS, ids.tid);
|
||||
return virt;
|
||||
|
||||
Reference in New Issue
Block a user