Leaked source code of windows server 2003
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.

96 lines
2.0 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. res_cm.h
  5. Abstract:
  6. Converts from NT to Pnp resources
  7. Author:
  8. Stephane Plante (splante) Feb 13, 1997
  9. Revision History:
  10. --*/
  11. #ifndef _RES_CM_H_
  12. #define _RES_CM_H_
  13. NTSTATUS
  14. PnpiCmResourceToBiosAddress(
  15. IN PUCHAR Buffer,
  16. IN PCM_RESOURCE_LIST List
  17. );
  18. NTSTATUS
  19. PnpiCmResourceToBiosAddressDouble(
  20. IN PUCHAR Buffer,
  21. IN PCM_RESOURCE_LIST List
  22. );
  23. NTSTATUS
  24. PnpiCmResourceToBiosDma(
  25. IN PUCHAR Buffer,
  26. IN PCM_RESOURCE_LIST List
  27. );
  28. NTSTATUS
  29. PnpiCmResourceToBiosExtendedIrq(
  30. IN PUCHAR Buffer,
  31. IN PCM_RESOURCE_LIST List
  32. );
  33. NTSTATUS
  34. PnpiCmResourceToBiosIoFixedPort(
  35. IN PUCHAR Buffer,
  36. IN PCM_RESOURCE_LIST List
  37. );
  38. NTSTATUS
  39. PnpiCmResourceToBiosIoPort(
  40. IN PUCHAR Buffer,
  41. IN PCM_RESOURCE_LIST List
  42. );
  43. NTSTATUS
  44. PnpiCmResourceToBiosIrq(
  45. IN PUCHAR Buffer,
  46. IN PCM_RESOURCE_LIST List
  47. );
  48. NTSTATUS
  49. PnpiCmResourceToBiosMemory(
  50. IN PUCHAR Buffer,
  51. IN PCM_RESOURCE_LIST List
  52. );
  53. NTSTATUS
  54. PnpiCmResourceToBiosMemory32(
  55. IN PUCHAR Buffer,
  56. IN PCM_RESOURCE_LIST List
  57. );
  58. NTSTATUS
  59. PnpiCmResourceToBiosMemory32Fixed(
  60. IN PUCHAR Buffer,
  61. IN PCM_RESOURCE_LIST List
  62. );
  63. BOOLEAN
  64. PnpiCmResourceValidEmptyList(
  65. IN PCM_RESOURCE_LIST List
  66. );
  67. NTSTATUS
  68. PnpCmResourcesToBiosResources(
  69. IN PCM_RESOURCE_LIST List,
  70. IN PUCHAR Data
  71. );
  72. #endif