diff options
Diffstat (limited to 'Kernel/Source/PRDT.cxx')
| -rw-r--r-- | Kernel/Source/PRDT.cxx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Kernel/Source/PRDT.cxx b/Kernel/Source/PRDT.cxx new file mode 100644 index 00000000..3f454409 --- /dev/null +++ b/Kernel/Source/PRDT.cxx @@ -0,0 +1,22 @@ +/* ------------------------------------------- + + Copyright SoftwareLabs + +------------------------------------------- */ + +#include <KernelKit/DebugOutput.hpp> +#include <NewKit/String.hpp> +#include <StorageKit/PRDT.hpp> + +namespace NewOS +{ + /// @brief constructs a new PRD. + /// @param prd PRD reference. + /// @note This doesnt construct a valid, please fill it by yourself. + void construct_prdt(Ref<PRDT>& prd) + { + prd.Leak().fPhysAddress = 0x0; + prd.Leak().fSectorCount = 0x0; + prd.Leak().fEndBit = 0x0; + } +} // namespace NewOS |
