home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / clib / expansion_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-28  |  2.0 KB  |  57 lines

  1. #ifndef  CLIB_EXPANSION_PROTOS_H
  2. #define  CLIB_EXPANSION_PROTOS_H
  3.  
  4. /*
  5. **    $VER: expansion_protos.h 40.2 (6.6.1998)
  6. **
  7. **    C prototypes. For use with 32 bit integers only.
  8. **
  9. **    Copyright © 1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif /* __cplusplus */
  16.  
  17. #ifndef  EXEC_TYPES_H
  18. #include <exec/types.h>
  19. #endif
  20. #ifndef  LIBRARIES_CONFIGVARS_H
  21. #include <libraries/configvars.h>
  22. #endif
  23. #ifndef  DOS_FILEHANDLER_H
  24. #include <dos/filehandler.h>
  25. #endif
  26. /*--- functions in V33 or higher (Release 1.2) ---*/
  27. VOID AddConfigDev( struct ConfigDev *configDev );
  28. /*--- functions in V36 or higher (Release 2.0) ---*/
  29. BOOL AddBootNode( LONG bootPri, ULONG flags, struct DeviceNode *deviceNode, struct ConfigDev *configDev );
  30. /*--- functions in V33 or higher (Release 1.2) ---*/
  31. VOID AllocBoardMem( ULONG slotSpec );
  32. struct ConfigDev *AllocConfigDev( VOID );
  33. APTR AllocExpansionMem( ULONG numSlots, ULONG slotAlign );
  34. VOID ConfigBoard( APTR board, struct ConfigDev *configDev );
  35. VOID ConfigChain( APTR baseAddr );
  36. struct ConfigDev *FindConfigDev( CONST struct ConfigDev *oldConfigDev, LONG manufacturer, LONG product );
  37. VOID FreeBoardMem( ULONG startSlot, ULONG slotSpec );
  38. VOID FreeConfigDev( struct ConfigDev *configDev );
  39. VOID FreeExpansionMem( ULONG startSlot, ULONG numSlots );
  40. UBYTE ReadExpansionByte( CONST APTR board, ULONG offset );
  41. VOID ReadExpansionRom( CONST APTR board, struct ConfigDev *configDev );
  42. VOID RemConfigDev( struct ConfigDev *configDev );
  43. VOID WriteExpansionByte( APTR board, ULONG offset, ULONG byte );
  44. VOID ObtainConfigBinding( VOID );
  45. VOID ReleaseConfigBinding( VOID );
  46. VOID SetCurrentBinding( struct CurrentBinding *currentBinding, ULONG bindingSize );
  47. ULONG GetCurrentBinding( CONST struct CurrentBinding *currentBinding, ULONG bindingSize );
  48. struct DeviceNode *MakeDosNode( CONST APTR parmPacket );
  49. BOOL AddDosNode( LONG bootPri, ULONG flags, struct DeviceNode *deviceNode );
  50. /*--- functions in V36 or higher (Release 2.0) ---*/
  51.  
  52. #ifdef __cplusplus
  53. }
  54. #endif /* __cplusplus */
  55.  
  56. #endif   /* CLIB_EXPANSION_PROTOS_H */
  57.