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/halsable/alpha/icic.h | |
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/halsable/alpha/icic.h')
-rw-r--r-- | private/ntos/nthals/halsable/alpha/icic.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/private/ntos/nthals/halsable/alpha/icic.h b/private/ntos/nthals/halsable/alpha/icic.h new file mode 100644 index 000000000..3c3407943 --- /dev/null +++ b/private/ntos/nthals/halsable/alpha/icic.h @@ -0,0 +1,62 @@ +/*++ + +Copyright (c) 1995 Digital Equipment Corporation + +Module Name: + + icic.h + +Abstract: + + This file defines the structures and definitions describing the + Interrupt Controller IC (ICIC). + +Author: + + Dave Richards 23-May-1995 + +Environment: + + Kernel mode + +Revision History: + +--*/ + +#ifndef _ICICH_ +#define _ICICH_ + +typedef enum _ICIC_REGISTER { + IcIcMaskRegister = 0x40, + IcIcElcrRegister = 0x50, + IcIcEisaRegister = 0x60, + IcIcModeRegister = 0x70 +} ICIC_REGISTER; + +typedef ULONGLONG ICIC_MASK_REGISTER, *PICIC_MASK_REGISTER; +typedef ULONGLONG ICIC_ELCR_REGISTER, *PICIC_ELCR_REGISTER; +typedef ULONGLONG ICIC_EISA_REGISTER, *PICIC_EISA_REGISTER; + +typedef union _ICIC_MODE_REGISTER { + struct { + ULONGLONG Mode: 1; + ULONGLONG Reset: 1; + ULONGLONG Reserved: 62; + }; + ULONGLONG all; +} ICIC_MODE_REGISTER, *PICIC_MODE_REGISTER; + +ULONGLONG +READ_ICIC_REGISTER( + IN PVOID TxQva, + IN ICIC_REGISTER IcIcRegister + ); + +VOID +WRITE_ICIC_REGISTER( + IN PVOID TxQva, + IN ICIC_REGISTER IcIcRegister, + IN ULONGLONG Value + ); + +#endif // _ICICH_ |