mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 23:55:07 +00:00
- Return TRUE from HwInitialize
- Implement HwReset. svn path=/trunk/; revision=5814
This commit is contained in:
parent
aa6c5c7738
commit
f85a8455cb
|
@ -24,12 +24,12 @@ VGAStartIO(PVOID DeviceExtension,
|
||||||
PVIDEO_REQUEST_PACKET RequestPacket);
|
PVIDEO_REQUEST_PACKET RequestPacket);
|
||||||
/*
|
/*
|
||||||
static BOOLEAN STDCALL
|
static BOOLEAN STDCALL
|
||||||
VGAInterrupt(PVOID DeviceExtension);
|
VGAInterrupt(PVOID DeviceExtension);*/
|
||||||
static BOOLEAN STDCALL
|
static BOOLEAN STDCALL
|
||||||
VGAResetHw(PVOID DeviceExtension,
|
VGAResetHw(PVOID DeviceExtension,
|
||||||
ULONG Columns,
|
ULONG Columns,
|
||||||
ULONG Rows);
|
ULONG Rows);
|
||||||
static VOID STDCALL
|
/*static VOID STDCALL
|
||||||
VGATimer(PVOID DeviceExtension);
|
VGATimer(PVOID DeviceExtension);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ DriverEntry(IN PVOID Context1,
|
||||||
InitData.HwInitialize = VGAInitialize;
|
InitData.HwInitialize = VGAInitialize;
|
||||||
InitData.HwStartIO = VGAStartIO;
|
InitData.HwStartIO = VGAStartIO;
|
||||||
/* InitData.HwInterrupt = VGAInterrupt; */
|
/* InitData.HwInterrupt = VGAInterrupt; */
|
||||||
/* InitData.HwResetHw = VGAResetHw; */
|
InitData.HwResetHw = VGAResetHw;
|
||||||
/* InitData.HwTimer = VGATimer; */
|
/* InitData.HwTimer = VGATimer; */
|
||||||
|
|
||||||
return VideoPortInitialize(Context1, Context2, &InitData, NULL);
|
return VideoPortInitialize(Context1, Context2, &InitData, NULL);
|
||||||
|
@ -157,7 +157,7 @@ VGAFindAdapter(PVOID DeviceExtension,
|
||||||
static BOOLEAN STDCALL
|
static BOOLEAN STDCALL
|
||||||
VGAInitialize(PVOID DeviceExtension)
|
VGAInitialize(PVOID DeviceExtension)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// VGAStartIO
|
// VGAStartIO
|
||||||
|
@ -339,6 +339,7 @@ VGAInterrupt(PVOID DeviceExtension)
|
||||||
{
|
{
|
||||||
return(TRUE);
|
return(TRUE);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// VGAResetHw
|
// VGAResetHw
|
||||||
//
|
//
|
||||||
|
@ -362,9 +363,11 @@ VGAResetHw(PVOID DeviceExtension,
|
||||||
ULONG Columns,
|
ULONG Columns,
|
||||||
ULONG Rows)
|
ULONG Rows)
|
||||||
{
|
{
|
||||||
return(TRUE);
|
/* We don't anything to the vga that int10 can't cope with. */
|
||||||
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
// VGATimer
|
// VGATimer
|
||||||
//
|
//
|
||||||
// DESCRIPTION:
|
// DESCRIPTION:
|
||||||
|
|
Loading…
Reference in a new issue