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.

54 lines
983 B

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. pnpcvrt.h
  5. Abstract:
  6. This module contains the declarations for the internal APIs used to
  7. convert PNP resource descriptors to NT descriptors.
  8. Author:
  9. Robert Nelson (robertn) 10/13/97
  10. Revision History:
  11. --*/
  12. #ifndef _PNPCVRT_
  13. #define _PNPCVRT_
  14. VOID
  15. PpBiosResourcesSetToDisabled (
  16. IN OUT PUCHAR BiosData,
  17. OUT PULONG Length
  18. );
  19. #define PPCONVERTFLAG_SET_RESTART_LCPRI 0x00000001
  20. #define PPCONVERTFLAG_FORCE_FIXED_IO_16BIT_DECODE 0x00000002
  21. NTSTATUS
  22. PpBiosResourcesToNtResources (
  23. IN ULONG BusNumber,
  24. IN ULONG SlotNumber,
  25. IN OUT PUCHAR *BiosData,
  26. IN ULONG ConvertFlags,
  27. OUT PIO_RESOURCE_REQUIREMENTS_LIST *ReturnedList,
  28. OUT PULONG ReturnedLength
  29. );
  30. NTSTATUS
  31. PpCmResourcesToBiosResources (
  32. IN PCM_RESOURCE_LIST CmResources,
  33. IN PUCHAR BiosRequirements,
  34. IN PUCHAR *BiosResources,
  35. IN PULONG Length
  36. );
  37. #endif // _PNPCVRT_