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.

85 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. rangesup.h
  5. Abstract:
  6. This handles the subtraction of a set of CmResList from an IoResList
  7. IoResList
  8. Author:
  9. Stephane Plante (splante)
  10. Environment:
  11. Kernel mode only.
  12. Revision History:
  13. Aug-05-97 - Initial Revision
  14. --*/
  15. #ifndef _RANGESUP_H_
  16. #define _RANGESUP_H_
  17. NTSTATUS
  18. ACPIRangeAdd(
  19. IN OUT PIO_RESOURCE_REQUIREMENTS_LIST *GlobalList,
  20. IN PIO_RESOURCE_REQUIREMENTS_LIST AddList
  21. );
  22. NTSTATUS
  23. ACPIRangeAddCmList(
  24. IN OUT PCM_RESOURCE_LIST *GlobalList,
  25. IN PCM_RESOURCE_LIST AddList
  26. );
  27. NTSTATUS
  28. ACPIRangeFilterPICInterrupt(
  29. IN PIO_RESOURCE_REQUIREMENTS_LIST IoResList
  30. );
  31. NTSTATUS
  32. ACPIRangeSortCmList(
  33. IN PCM_RESOURCE_LIST CmResList
  34. );
  35. NTSTATUS
  36. ACPIRangeSortIoList(
  37. IN PIO_RESOURCE_LIST IoResList
  38. );
  39. NTSTATUS
  40. ACPIRangeSubtract(
  41. IN PIO_RESOURCE_REQUIREMENTS_LIST *IoResReqList,
  42. IN PCM_RESOURCE_LIST CmResList
  43. );
  44. NTSTATUS
  45. ACPIRangeSubtractIoList(
  46. IN PIO_RESOURCE_LIST IoResList,
  47. IN PCM_RESOURCE_LIST CmResList,
  48. OUT PIO_RESOURCE_LIST *Result
  49. );
  50. VOID
  51. ACPIRangeValidatePciMemoryResource(
  52. IN PIO_RESOURCE_LIST IoList,
  53. IN ULONG Index,
  54. IN PACPI_BIOS_MULTI_NODE E820Info,
  55. OUT ULONG *BugCheck
  56. );
  57. VOID
  58. ACPIRangeValidatePciResources(
  59. IN PDEVICE_EXTENSION DeviceExtension,
  60. IN PIO_RESOURCE_REQUIREMENTS_LIST IoResList
  61. );
  62. #endif