mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
Clean up to kernel code, Added `used' field to capabilities
With the addition of used field, capability structure can be used for resource accounting over the capability.
This commit is contained in:
@@ -59,6 +59,9 @@ struct capability {
|
||||
unsigned long start; /* Resource start value */
|
||||
unsigned long end; /* Resource end value */
|
||||
unsigned long size; /* Resource size */
|
||||
|
||||
/* Used amount on resource */
|
||||
unsigned long used;
|
||||
};
|
||||
|
||||
struct cap_list {
|
||||
|
||||
Reference in New Issue
Block a user