summaryrefslogtreecommitdiff
path: root/Chipset/eM/Ahci/HACCESS.EQU
blob: 53c2292a304fd64fa0ca0f3818f56273254e2739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
;	TITLE	HACCESS.EQU - Accessing HBA memory-mapped register
;****************************************************************************
;****************************************************************************
;**                                                                        **
;**             (C)Copyright 1985-2011, American Megatrends, Inc.          **
;**                                                                        **
;**                          All Rights Reserved.                          **
;**                                                                        **
;**                 5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093      **
;**                                                                        **
;**                          Phone (770)-246-8600                          **
;**                                                                        **
;****************************************************************************
;****************************************************************************

;****************************************************************************
; $Header: /Alaska/SOURCE/Modules/AHCI/INT13/CSP/HACCESS.EQU 3     2/10/11 10:52a Rameshr $
;
; $Revision: 3 $
;
; $Date: 2/10/11 10:52a $
;
;****************************************************************************
; Revision History
; ----------------
; $Log: /Alaska/SOURCE/Modules/AHCI/INT13/CSP/HACCESS.EQU $
; 
; 3     2/10/11 10:52a Rameshr
; [TAG]  		EIP53704
; [Category]  	Improvement
; [Description]  	AMI headers update for Alaska Ahci Driver
; [Files]  		AHCIACC.ASM
; HACCESS.EQU
; AHCI.EQU
; AINT13.EQU
; AInt13Csp.c
; 
; 2     5/28/08 9:43a Rameshraju
; Updated the AMI Address.
; 
; 1     12/07/07 11:17a Olegi
; 
; 4     12/05/06 3:16a Iminglin
; Remove useless.
; 
; 3     11/29/06 3:18a Iminglin
; CSP modification.
; 
; 2     11/23/06 10:12p Iminglin
; Default is for ICH7.
; 
; 1     6/09/05 11:29p Iminglin
; Initialized version
; 
; 1     5/20/05 2:37a Iminglin
; Intel AHCI source
; 
;****************************************************************************

;-------------------------------------------------------------------------
;
; Input parameter in register CH to read/write memory-mapped registers.
;
;ACCESS_DATA	equ	0ADh
;
; Output parameter in register CH from read/write memory-mapped registers.
; This data is checked for determining whether access is successful.
;
;DATA_ACCESSED	equ	0DAh		; Access is Successful
					; Any other value -> error
;
;-------------------------------------------------------------------------
; Function number used for common control routine to access memory-mapped
; registers using any access method
;
;READ_BYTE	equ	00h	; Func# 00h for Read Byte Data
;READ_WORD	equ	01h	; Func# 01h for Read Word Data
;READ_DWORD	equ	02h	; Func# 02h for Read Dword Data
;
;WRITE_BYTE	equ	10h	; Func# 10h for Write Byte Data
;WRITE_WORD	equ	11h	; Func# 11h for Write Word Data
;WRITE_DWORD	equ	12h	; Func# 12h for Write Dword Data
;
;INIT_BYTE_ARRAY	equ	20h	; Func# 20h for Init Byte Array
;INIT_WORD_ARRAY	equ	21h	; Func# 21h for Init Word Array
;INIT_DWORD_ARRAY 	equ	22h	; Func# 22h for Init Dword Array
;
;-------------------------------------------------------------------------
;
;RW_FUNC_STRUC	struc
;  bFunction	db	?	; Function#
;  wPtrToRoutine	dw	?	; Offset of execution routine
;RW_FUNC_STRUC	ends
;-------------------------------------------------------------------------
;****************************************************************************
;****************************************************************************
;**                                                                        **
;**             (C)Copyright 1985-2011, American Megatrends, Inc.          **
;**                                                                        **
;**                          All Rights Reserved.                          **
;**                                                                        **
;**                 5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093      **
;**                                                                        **
;**                          Phone (770)-246-8600                          **
;**                                                                        **
;****************************************************************************
;****************************************************************************