diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ntos/nthals/inc | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/ntos/nthals/inc')
-rw-r--r-- | private/ntos/nthals/inc/hali.h | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/private/ntos/nthals/inc/hali.h b/private/ntos/nthals/inc/hali.h new file mode 100644 index 000000000..3a47da3ec --- /dev/null +++ b/private/ntos/nthals/inc/hali.h @@ -0,0 +1,109 @@ +/*++ BUILD Version: 0001 // Increment this if a change has global effects + +Copyright (c) 1995 Microsoft Corporation + +Module Name: + + hali.h + +Abstract: + + This header file defines the private Hardware Architecture Layer (HAL) + interfaces for bus range support. + +Author: + + David N. Cutler (davec) 28-Mar-95 + + +Revision History: + +--*/ + +#ifndef _HALI_ +#define _HALI_ + +// +// Define type of memory for bus range allocations. +// + +#define SPRANGEPOOL NonPagedPool + +// +// Define bus range function prototypes. +// + +PSUPPORTED_RANGES +HalpMergeRanges ( + IN PSUPPORTED_RANGES Parent, + IN PSUPPORTED_RANGES Child + ); + +VOID +HalpMergeRangeList ( + PSUPPORTED_RANGE NewList, + PSUPPORTED_RANGE Source1, + PSUPPORTED_RANGE Source2 + ); + +PSUPPORTED_RANGES +HalpConsolidateRanges ( + PSUPPORTED_RANGES Ranges + ); + +PSUPPORTED_RANGES +HalpAllocateNewRangeList ( + VOID + ); + +VOID +HalpFreeRangeList ( + PSUPPORTED_RANGES Ranges + ); + +PSUPPORTED_RANGES +HalpCopyRanges ( + PSUPPORTED_RANGES Source + ); + +VOID +HalpAddRangeList ( + IN OUT PSUPPORTED_RANGE DRange, + OUT PSUPPORTED_RANGE SRange + ); + +VOID +HalpAddRange ( + PSUPPORTED_RANGE HRange, + ULONG AddressSpace, + LONGLONG SystemBase, + LONGLONG Base, + LONGLONG Limit + ); + +VOID +HalpRemoveRanges ( + IN OUT PSUPPORTED_RANGES Minuend, + IN PSUPPORTED_RANGES Subtrahend + ); + +VOID +HalpRemoveRangeList ( + IN OUT PSUPPORTED_RANGE Minuend, + IN PSUPPORTED_RANGE Subtrahend + ); + + +VOID +HalpRemoveRange ( + PSUPPORTED_RANGE HRange, + LONGLONG Base, + LONGLONG Limit + ); + +VOID +HalpDisplayAllBusRanges ( + VOID + ); + +#endif // _HALI_ |