Move Memory to memory/
This commit is contained in:
parent
9cb2debd3a
commit
77ab0175da
4 changed files with 5 additions and 4 deletions
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
#include "Attributes.hh"
|
#include "Attributes.hh"
|
||||||
#include "Console.hh"
|
#include "Console.hh"
|
||||||
#include "Memory.hh"
|
|
||||||
#include "Multiboot.hh"
|
#include "Multiboot.hh"
|
||||||
#include "kstd/Types.hh"
|
#include "kstd/Types.hh"
|
||||||
|
#include "memory/Memory.hh"
|
||||||
|
|
||||||
|
|
||||||
namespace kernel {
|
namespace kernel {
|
||||||
|
|
|
@ -15,7 +15,6 @@ files = [
|
||||||
'Descriptors.cc',
|
'Descriptors.cc',
|
||||||
'Interrupts.cc',
|
'Interrupts.cc',
|
||||||
'Kernel.cc',
|
'Kernel.cc',
|
||||||
'Memory.cc',
|
|
||||||
'Multiboot.cc',
|
'Multiboot.cc',
|
||||||
'PIC.cc',
|
'PIC.cc',
|
||||||
'cxa.cc',
|
'cxa.cc',
|
||||||
|
@ -23,6 +22,8 @@ files = [
|
||||||
|
|
||||||
'kstd/CString.cc',
|
'kstd/CString.cc',
|
||||||
'kstd/Memory.cc',
|
'kstd/Memory.cc',
|
||||||
|
|
||||||
|
'memory/Memory.cc',
|
||||||
]
|
]
|
||||||
|
|
||||||
toolchain_bin = Dir(os.environ['POLKA_TOOLCHAIN']).Dir('bin')
|
toolchain_bin = Dir(os.environ['POLKA_TOOLCHAIN']).Dir('bin')
|
||||||
|
|
|
@ -33,5 +33,5 @@ MemoryManager::initializeGDT()
|
||||||
mGDT.setDescriptor(2, x86::GDT::DescriptorSpec::kernelSegment(0, 0xFFFFFFFF, x86::GDT::Type::DataRW));
|
mGDT.setDescriptor(2, x86::GDT::DescriptorSpec::kernelSegment(0, 0xFFFFFFFF, x86::GDT::Type::DataRW));
|
||||||
mGDT.load();
|
mGDT.load();
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* namespace kernel */
|
} /* namespace kernel */
|
|
@ -24,7 +24,7 @@ private:
|
||||||
|
|
||||||
void initializeGDT();
|
void initializeGDT();
|
||||||
};
|
};
|
||||||
|
|
||||||
} /* namespace kernel */
|
} /* namespace kernel */
|
||||||
|
|
||||||
#endif /* __MEMORY_HH__ */
|
#endif /* __MEMORY_HH__ */
|
Loading…
Add table
Add a link
Reference in a new issue