mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-24 17:01:48 +01:00
commit
0f72dd6d85
@ -99,14 +99,6 @@ struct PageTable {
|
|||||||
VAddr idx;
|
VAddr idx;
|
||||||
};
|
};
|
||||||
|
|
||||||
Entry operator[](VAddr idx) {
|
|
||||||
return Entry(*this, idx);
|
|
||||||
}
|
|
||||||
|
|
||||||
u8* operator[](VAddr idx) const {
|
|
||||||
return raw[idx];
|
|
||||||
}
|
|
||||||
|
|
||||||
Entry operator[](std::size_t idx) {
|
Entry operator[](std::size_t idx) {
|
||||||
return Entry(*this, static_cast<VAddr>(idx));
|
return Entry(*this, static_cast<VAddr>(idx));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user