Instead of passing an enum with the capability when creating it, relying on polymorphism and a template struct tag to determine the object type at runtime. This is cleaner and avoids errors where we pass the wrong capability type with the cap and do a bad cast at runtime. |
||
|---|---|---|
| .. | ||
| syscall.cpp | ||
| syscall.h | ||
| syscall_enter.s | ||