mirror of
https://github.com/drasko/codezero.git
synced 2026-04-05 03:29:05 +02:00
Some more minor fixes.
This commit is contained in:
@@ -305,9 +305,6 @@ 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