forked from Bananymous/banan-os
Kernel: Make PageTable non-copyable and non-movable
Also PageTable destructor now verifies that is has allocated something instead of assuming paddr of 0.
This commit is contained in:
@@ -22,6 +22,9 @@ namespace Kernel
|
||||
|
||||
class PageTable
|
||||
{
|
||||
BAN_NON_COPYABLE(PageTable);
|
||||
BAN_NON_MOVABLE(PageTable);
|
||||
|
||||
public:
|
||||
using flags_t = uint16_t;
|
||||
enum Flags : flags_t
|
||||
|
||||
Reference in New Issue
Block a user