68 uint8_t type() const;
69 uintptr_t start() const;
70 uintptr_t end() const;
71 size_t size() const;
72 uintptr_t top() const;
73 size_t remaining() const;
74
75 uint8_t numa_id();
76
77 ZPhysicalMemory& physical_memory();
78 const ZVirtualMemory& virtual_memory() const;
79
80 void reset();
81
82 bool inc_refcount();
83 bool dec_refcount();
84
85 bool is_in(uintptr_t addr) const;
86
87 uintptr_t block_start(uintptr_t addr) const;
88 size_t block_size(uintptr_t addr) const;
89 bool block_is_obj(uintptr_t addr) const;
90
91 bool is_active() const;
92 bool is_allocating() const;
93 bool is_relocatable() const;
94 bool is_detached() const;
95
96 bool is_mapped() const;
97 void set_pre_mapped();
98
99 bool is_pinned() const;
100 void set_pinned();
101
102 bool is_forwarding() const;
103 void set_forwarding();
104 void reset_forwarding();
105 void verify_forwarding() const;
106
107 bool is_marked() const;
108 bool is_object_live(uintptr_t addr) const;
|
68 uint8_t type() const;
69 uintptr_t start() const;
70 uintptr_t end() const;
71 size_t size() const;
72 uintptr_t top() const;
73 size_t remaining() const;
74
75 uint8_t numa_id();
76
77 ZPhysicalMemory& physical_memory();
78 const ZVirtualMemory& virtual_memory() const;
79
80 void reset();
81
82 bool inc_refcount();
83 bool dec_refcount();
84
85 bool is_in(uintptr_t addr) const;
86
87 uintptr_t block_start(uintptr_t addr) const;
88 bool block_is_obj(uintptr_t addr) const;
89
90 bool is_active() const;
91 bool is_allocating() const;
92 bool is_relocatable() const;
93 bool is_detached() const;
94
95 bool is_mapped() const;
96 void set_pre_mapped();
97
98 bool is_pinned() const;
99 void set_pinned();
100
101 bool is_forwarding() const;
102 void set_forwarding();
103 void reset_forwarding();
104 void verify_forwarding() const;
105
106 bool is_marked() const;
107 bool is_object_live(uintptr_t addr) const;
|