From d1cfd4ffdb8ce53d47a6c1b6c7e363b91e93b91a Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sat, 16 Feb 2002 22:00:52 +0000 Subject: [PATCH] Changed from Nt to Zw functions in VGAResetDevice. svn path=/trunk/; revision=2629 --- reactos/drivers/dd/vga/miniport/initvga.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/drivers/dd/vga/miniport/initvga.c b/reactos/drivers/dd/vga/miniport/initvga.c index 7a4ef3756e0..1b85be61a6d 100644 --- a/reactos/drivers/dd/vga/miniport/initvga.c +++ b/reactos/drivers/dd/vga/miniport/initvga.c @@ -69,7 +69,7 @@ void InitVGAMode() int i; VIDEO_X86_BIOS_ARGUMENTS vxba; VP_STATUS vps; - + // FIXME: Use Vidport to map the memory properly vidmem = (char *)(0xd0000000 + 0xa0000); memset(&vxba, 0, sizeof(vxba)); @@ -116,12 +116,12 @@ VOID VGAResetDevice(OUT PSTATUS_BLOCK StatusBlock) vps = VideoPortInt10(NULL, &vxba); RtlInitUnicodeString( &Name, L"\\TextConsoleRefreshEvent" ); InitializeObjectAttributes( &Attr, &Name, 0, 0, 0 ); - Status = NtOpenEvent( &Event, STANDARD_RIGHTS_ALL, &Attr ); + Status = ZwOpenEvent( &Event, STANDARD_RIGHTS_ALL, &Attr ); if( !NT_SUCCESS( Status ) ) DbgPrint( "VGA: Failed to open refresh event\n" ); else { - NtSetEvent( Event, &ThreadRelease ); - NtClose( Event ); + ZwSetEvent( Event, &ThreadRelease ); + ZwClose( Event ); } }