These were just macros for memset and memcpy, so use those instead.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
#ifndef _OSDEF_H_
#define _OSDEF_H_
-#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize)
-
-#define XGI_MemoryCopy(Destination,Soruce,Length) memcpy(Destination,Soruce,Length)
-
/**********************************************************************/
#ifdef OutPortByte
}
printk("4");
-// XGI_MemoryCopy( VBIOSVersion , HwDeviceExtension->szVBIOSVer , 4 ) ;
-
// VBIOSVersion[ 4 ] = 0x0 ;
/* 09/07/99 modify by domao */
{
AdapterMemorySize = 0x40000 ; /* clear 256k */
/* GetDRAMSize( HwDeviceExtension ) ; */
- XGI_SetMemory( VideoMemoryAddress , AdapterMemorySize , 0 ) ;
+ memset(VideoMemoryAddress, 0, AdapterMemorySize);
}
else
{
*/
}
else
- XGI_SetMemory( VideoMemoryAddress , 0x8000 , 0 ) ;
+ memset(VideoMemoryAddress , 0, 0x8000);
}
}