Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.9 KiB

  1. /******************************************************************************\
  2. * *
  3. * BOARDIO.H - Hardware registers access functions header file. *
  4. * *
  5. * Copyright (c) C-Cube Microsystems 1996 *
  6. * All Rights Reserved. *
  7. * *
  8. * Use of C-Cube Microsystems code is governed by terms and conditions *
  9. * stated in the accompanying licensing statement. *
  10. * *
  11. \******************************************************************************/
  12. #ifdef EZDVD
  13. BOOL BRD_Init( DWORD dwBaseAddress, DWORD dwHostBase );
  14. #else
  15. BOOL BRD_Init( DWORD dwBaseAddress );
  16. #endif
  17. BOOL BRD_Exit();
  18. BYTE BRD_ReadByte( DWORD dwAddress );
  19. WORD BRD_ReadWord( DWORD dwAddress );
  20. DWORD BRD_ReadDWord( DWORD dwAddress );
  21. void BRD_WriteByte( DWORD dwAddress, BYTE byValue );
  22. void BRD_WriteWord( DWORD dwAddress, WORD wValue );
  23. void BRD_WriteDWord( DWORD dwAddress, DWORD dwValue );
  24. void BRD_WriteDRAM( DWORD dwAddress, DWORD dwData ); //sri
  25. DWORD BRD_ReadDRAM ( DWORD dwAddress ); //sri
  26. BOOL BRDAbortStream(); //sri
  27. BOOL BRD_Send( BYTE *pbyLinearAddress, DWORD * dwpData, DWORD dwCount );
  28. BOOL BRD_RegisterISR( void pISR(void) );
  29. BOOL BRD_UnRegisterISR( void pISR(void) );
  30. BOOL BRD_SwitchVideoOut( BOOL bOn );
  31. BOOL BRD_OpenDecoderInterruptPass();
  32. BOOL BRD_CloseDecoderInterruptPass();
  33. BOOL BRD_CheckDecoderInterrupt();
  34. BOOL BRD_GetDecoderInterruptState();
  35. #if defined(ENCORE)
  36. BOOL Init_VxP_IO ( DWORD dwAddress );
  37. void IHW_SetRegister( WORD Index, BYTE Data );
  38. BYTE IHW_GetRegister( WORD Index );
  39. #endif // ENCORE