summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/src/PRDT.cc
blob: 8836ec08cd0d71e6f4b7e18f90ed64f09f433e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* -------------------------------------------

	Copyright (C) 2024-2025, Amlal EL Mahrouss, all rights reserved.

------------------------------------------- */

#include <KernelKit/DebugOutput.h>
#include <NewKit/KString.h>
#include <StorageKit/PRDT.h>

namespace Kernel
{
	/***********************************************************************************/
	/// @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 Kernel