Refactor identical xf86InitInt10 function from generic.c and linux.c
to helper_exec.c.
This commit is contained in:
parent
1450fd5964
commit
8793c7fd4b
|
@ -62,12 +62,6 @@ static void UnmapVRam(xf86Int10InfoPtr pInt);
|
|||
|
||||
static void *sysMem = NULL;
|
||||
|
||||
xf86Int10InfoPtr
|
||||
xf86InitInt10(int entityIndex)
|
||||
{
|
||||
return xf86ExtendedInitInt10(entityIndex, 0);
|
||||
}
|
||||
|
||||
xf86Int10InfoPtr
|
||||
xf86ExtendedInitInt10(int entityIndex, int Flags)
|
||||
{
|
||||
|
|
|
@ -685,3 +685,9 @@ xf86Int10SaveRestoreBIOSVars(xf86Int10InfoPtr pInt, Bool save)
|
|||
xf86UnMapVidMem(pInt->scrnIndex,base - BIOS_SCRATCH_OFF ,pagesize);
|
||||
}
|
||||
#endif
|
||||
|
||||
xf86Int10InfoPtr
|
||||
xf86InitInt10(int entityIndex)
|
||||
{
|
||||
return xf86ExtendedInitInt10(entityIndex, 0);
|
||||
}
|
||||
|
|
|
@ -78,12 +78,6 @@ static Int10LinuxSubModuleState int10LinuxLoadSubModule(ScrnInfoPtr pScrn);
|
|||
|
||||
#endif /* DoSubModules */
|
||||
|
||||
xf86Int10InfoPtr
|
||||
xf86InitInt10(int entityIndex)
|
||||
{
|
||||
return xf86ExtendedInitInt10(entityIndex, 0);
|
||||
}
|
||||
|
||||
xf86Int10InfoPtr
|
||||
xf86ExtendedInitInt10(int entityIndex, int Flags)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue