/kernel/trunk/generic/include/mm/frame.h |
---|
54,7 → 54,7 |
struct zone { |
link_t link; /**< link to previous and next zone */ |
spinlock_t lock; /**< this lock protects everything below */ |
SPINLOCK_DECLARE(lock); /**< this lock protects everything below */ |
__address base; /**< physical address of the first frame in the frames array */ |
frame_t *frames; /**< array of frame_t structures in this zone */ |
count_t free_count; /**< number of free frame_t structures */ |
/kernel/trunk/generic/include/mm/vm.h |
---|
57,7 → 57,7 |
* In the future, it should not be difficult to support shared areas of vm. |
*/ |
struct vm_area { |
spinlock_t lock; |
SPINLOCK_DECLARE(lock); |
link_t link; |
vm_type_t type; |
int size; |
72,7 → 72,7 |
* set up during system initialization. |
*/ |
struct vm { |
spinlock_t lock; |
SPINLOCK_DECLARE(lock); |
link_t vm_area_head; |
pte_t *ptl0; |
asid_t asid; |