diff --git a/reactos/drivers/video/videoprt/videoprt.c b/reactos/drivers/video/videoprt/videoprt.c index 7e9566a1921..39680805c22 100644 --- a/reactos/drivers/video/videoprt/videoprt.c +++ b/reactos/drivers/video/videoprt/videoprt.c @@ -1342,7 +1342,7 @@ VideoPortAcquireDeviceLock( DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension); Status = KeWaitForMutexObject(&DeviceExtension->DeviceLock, Executive, KernelMode, FALSE, NULL); - ASSERT(Status == STATUS_SUCCESS); + // ASSERT(Status == STATUS_SUCCESS); } /* @@ -1360,7 +1360,7 @@ VideoPortReleaseDeviceLock( DPRINT("VideoPortReleaseDeviceLock\n"); DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension); Status = KeReleaseMutex(&DeviceExtension->DeviceLock, FALSE); - ASSERT(Status == 0); + //ASSERT(Status == 0); } /* @@ -1373,3 +1373,17 @@ VpNotifyEaData( IN PVOID Data) { } + +/* + * @implemented + */ +PVOID NTAPI +VideoPortAllocateContiguousMemory( + IN PVOID HwDeviceExtension, + IN ULONG NumberOfBytes, + IN PHYSICAL_ADDRESS HighestAcceptableAddress + ) +{ + + return MmAllocateContiguousMemory(NumberOfBytes, HighestAcceptableAddress); +} diff --git a/reactos/drivers/video/videoprt/videoprt.def b/reactos/drivers/video/videoprt/videoprt.def index ec406de5642..037160b7e2f 100644 --- a/reactos/drivers/video/videoprt/videoprt.def +++ b/reactos/drivers/video/videoprt/videoprt.def @@ -8,7 +8,7 @@ VideoPortAcquireSpinLock@12 VideoPortAcquireSpinLockAtDpcLevel@8 VideoPortAllocateBuffer@12 VideoPortAllocateCommonBuffer@24 -;VideoPortAllocateContiguousMemory +VideoPortAllocateContiguousMemory VideoPortAllocatePool@16 ;VideoPortAssociateEventsWithDmaHandle VideoPortCheckForDeviceExistence@28