UINT8 ataInByte (UINT32 port)
return (*(volatile UINT8 *)port);
void ataInWordString (UINT32 port, UINT16 *pData, int count)
*pData++ = *((volatile UINT16 *)port);
void ataInLongString (UINT32 port, UINT32 *pData, int count)
*pData++ = *((volatile UINT32 *)port);
|