NativeList default constructor
This commit is contained in:
parent
23b6a1f943
commit
b3ed0fa445
|
@ -13,6 +13,8 @@ namespace xe {
|
||||||
namespace kernel {
|
namespace kernel {
|
||||||
namespace util {
|
namespace util {
|
||||||
|
|
||||||
|
NativeList::NativeList() = default;
|
||||||
|
|
||||||
NativeList::NativeList(Memory* memory)
|
NativeList::NativeList(Memory* memory)
|
||||||
: memory_(memory), head_(kInvalidPointer) {}
|
: memory_(memory), head_(kInvalidPointer) {}
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,7 @@ namespace util {
|
||||||
|
|
||||||
class NativeList {
|
class NativeList {
|
||||||
public:
|
public:
|
||||||
|
NativeList();
|
||||||
explicit NativeList(Memory* memory);
|
explicit NativeList(Memory* memory);
|
||||||
|
|
||||||
void Insert(uint32_t list_entry_ptr);
|
void Insert(uint32_t list_entry_ptr);
|
||||||
|
@ -41,7 +42,7 @@ class NativeList {
|
||||||
const uint32_t kInvalidPointer = 0xE0FE0FFF;
|
const uint32_t kInvalidPointer = 0xE0FE0FFF;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Memory* memory_;
|
Memory* memory_ = nullptr;
|
||||||
uint32_t head_;
|
uint32_t head_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue