mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Kernel: Use NonnullRefPtrVector in parts of the kernel.
This commit is contained in:
parent
e2b8a2315e
commit
601b0a8c68
5 changed files with 65 additions and 69 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <AK/Bitmap.h>
|
||||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/HashTable.h>
|
||||
#include <AK/NonnullRefPtrVector.h>
|
||||
#include <AK/RefPtr.h>
|
||||
#include <AK/RefCounted.h>
|
||||
#include <AK/Types.h>
|
||||
|
@ -125,8 +126,8 @@ private:
|
|||
unsigned m_super_physical_pages { 0 };
|
||||
unsigned m_super_physical_pages_used { 0 };
|
||||
|
||||
Vector<NonnullRefPtr<PhysicalRegion>> m_user_physical_regions {};
|
||||
Vector<NonnullRefPtr<PhysicalRegion>> m_super_physical_regions {};
|
||||
NonnullRefPtrVector<PhysicalRegion> m_user_physical_regions;
|
||||
NonnullRefPtrVector<PhysicalRegion> m_super_physical_regions;
|
||||
|
||||
HashTable<VMObject*> m_vmos;
|
||||
HashTable<Region*> m_user_regions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue