From 6f1aa4288c62580afb876fb9e35a45d022027d1d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 22 Mar 2024 01:34:33 +0100 Subject: NewBoot: Fetching ACPI RSDPTR with success now. This table is needed to implement AHCI. --- Public/SDK/System.Core/Sources/Heap.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Public/SDK/System.Core/Sources') diff --git a/Public/SDK/System.Core/Sources/Heap.cxx b/Public/SDK/System.Core/Sources/Heap.cxx index b3f43ad3..3803af3a 100644 --- a/Public/SDK/System.Core/Sources/Heap.cxx +++ b/Public/SDK/System.Core/Sources/Heap.cxx @@ -65,17 +65,17 @@ HeapInterface::HeapInterface() { HeapInterface::~HeapInterface() { delete this; } -void HeapInterface::Delete(HeapPtr me) noexcept { +void HeapInterface::Delete(PtrHeapType me) noexcept { CA_MUST_PASS(me); HcFreeProcessHeap(kInstanceObject, me); } -SizeType HeapInterface::Size(HeapPtr me) noexcept { +SizeType HeapInterface::Size(PtrHeapType me) noexcept { CA_MUST_PASS(me); return HcProcessHeapSize(kInstanceObject, me); } -HeapPtr HeapInterface::New(const SizeType& sz, const DWordType flags) { +PtrHeapType HeapInterface::New(const SizeType& sz, const DWordType flags) { SizeType _sz = sz; if (!_sz) ++_sz; -- cgit v1.2.3