mirror of
https://github.com/drasko/codezero.git
synced 2026-01-13 19:33:15 +01:00
Removed bits from kernel where pager utcb is set.
Pagers now set their own utcb explicitly via exchange_registers. exregs accepts calls from active pagers for this purpose only.
This commit is contained in:
@@ -61,10 +61,8 @@ struct capability *capability_find_by_rtype(struct cap_list *clist,
|
||||
{
|
||||
struct capability *cap;
|
||||
|
||||
list_foreach_struct(cap, &clist->caps, list) {
|
||||
list_foreach_struct(cap, &clist->caps, list)
|
||||
if ((cap->type & CAP_RTYPE_MASK) == rtype)
|
||||
return cap;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user