mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
Kernel: Remove some friendships and make some classes non-copy/moveable
This commit is contained in:
parent
424afdd72b
commit
de4ba1f39b
4 changed files with 11 additions and 7 deletions
|
@ -12,9 +12,10 @@
|
|||
namespace Kernel {
|
||||
|
||||
class PhysicalPage {
|
||||
AK_MAKE_NONCOPYABLE(PhysicalPage);
|
||||
AK_MAKE_NONMOVABLE(PhysicalPage);
|
||||
|
||||
friend class MemoryManager;
|
||||
friend class PageDirectory;
|
||||
friend class VMObject;
|
||||
|
||||
public:
|
||||
PhysicalAddress paddr() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue