Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 25 of 81) sorted by relevance

1234

/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/
DIoLibIcc.c41 mov dx, word ptr [Port] in IoRead8()
42 in al, dx in IoRead8()
73 mov dx, word ptr [Port] in IoWrite8()
74 out dx, al in IoWrite8()
105 mov dx, word ptr [Port] in IoRead16()
106 in ax, dx in IoRead16()
140 mov dx, word ptr [Port] in IoWrite16()
141 out dx, ax in IoWrite16()
173 mov dx, word ptr [Port] in IoRead32()
174 in eax, dx in IoRead32()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/
DIoLibIcc.c232 mov dx, word ptr [Port] in IoRead8()
233 in al, dx in IoRead8()
264 mov dx, word ptr [Port] in IoWrite8()
265 out dx, al in IoWrite8()
295 mov dx, word ptr [Port] in IoRead16()
296 in ax, dx in IoRead16()
329 mov dx, word ptr [Port] in IoWrite16()
330 out dx, ax in IoWrite16()
364 mov dx, word ptr [Port] in IoRead32()
365 in eax, dx in IoRead32()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIo2Dxe/Ia32/
DIoFifo.asm31 mov dx, [esp + 8]
51 mov dx, [esp + 8]
71 mov dx, [esp + 8]
91 mov dx, [esp + 8]
111 mov dx, [esp + 8]
131 mov dx, [esp + 8]
DIoFifo.nasm30 mov dx, [esp + 8]
50 mov dx, [esp + 8]
70 mov dx, [esp + 8]
90 mov dx, [esp + 8]
110 mov dx, [esp + 8]
130 mov dx, [esp + 8]
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dbs16.S139 …movw %di, %dx # dx = Offset of Start Cluster for Efivar.bin <-----------…
140 addw $26, %dx
165 pushw %dx
167 popw %dx # ax = (StartCluster - 2) * SectorsPerCluster
218 incw %dx # dx = (StartLBA % MaxSector) + 1
219 subw %dx, %bx # bx = MaxSector - Sector
227 xorw %dx, %dx # dx = 0
229 # dx = ax % (MaxHead + 1) = Head
Dbootsect.asm125 ; dx - variable storage (initial value is 0)
127 xor dx, dx
138 test dx, dx
Dbootsect.S126 # dx - variable storage (initial value is 0)
128 xorw %dx, %dx
139 testw %dx, %dx
Dbs16.asm137 …mov dx, di ; dx = Offset of Start Cluster for Efivar.bin <-----------…
138 add dx, 26
163 push dx
165 pop dx ; ax = (StartCluster - 2) * SectorsPerCluster
215 inc dx ; dx = (StartLBA % MaxSector) + 1
216 sub bx,dx ; bx = MaxSector - Sector
224 xor dx,dx ; dx = 0
226 ; dx = ax % (MaxHead + 1) = Head
Dbs32.S160 …movw %di, %dx # dx = Offset of Start Cluster for Efivar.bin <-----------…
161 addw $26, %dx
186 pushw %dx
188 popw %dx # ax = (StartCluster - 2) * SectorsPerCluster
239 incw %dx # dx = (StartLBA % MaxSector) + 1
240 subw %dx, %bx # bx = MaxSector - Sector
248 xorw %dx, %dx # dx = 0
250 # dx = ax % (MaxHead + 1) = Head
Dbs32.asm159 …mov dx, di ; dx = Offset of Start Cluster for Efivar.bin <-----------…
160 add dx, 26
185 push dx
187 pop dx ; ax = (StartCluster - 2) * SectorsPerCluster
237 inc dx ; dx = (StartLBA % MaxSector) + 1
238 sub bx,dx ; bx = MaxSector - Sector
246 xor dx,dx ; dx = 0
248 ; dx = ax % (MaxHead + 1) = Head
Dstart.S63 # dx = Start Cluster of Efivar.bin
70 # 1000:dx = DirectoryEntry of Efivar.bin -> BS.com has filled already
73 testw %dx, %dx
84 movw %dx, %di
140 # dx = CachedFatSectorNumber
147 movw $0xfff, %dx # CachedFatSectorNumber = 0xfff
162 … cmpw %dx, %ax # Compare FatSectorNumber to CachedFatSectorNumber
170 movw %ax, %dx # CachedFatSectorNumber = FatSectorNumber
235 incw %dx # dx = (StartLBA % MaxSector) + 1
238 subw %dx, %bx # bx = MaxSector - Sector
[all …]
Dstart16.S64 # dx = Start Cluster of Efivar.bin
71 # 1000:dx = DirectoryEntry of Efivar.bin -> BS.com has filled already
74 testw %dx, %dx
85 movw %dx, %di
141 # dx = CachedFatSectorNumber
148 movw $0xfff, %dx # CachedFatSectorNumber = 0xfff
161 … cmpw %dx, %ax # Compare FatSectorNumber to CachedFatSectorNumber
169 movw %ax, %dx # CachedFatSectorNumber = FatSectorNumber
229 incw %dx # dx = (StartLBA % MaxSector) + 1
232 subw %dx, %bx # bx = MaxSector - Sector
[all …]
Dstart32.S78 # dx = Start Cluster of Efivar.bin
86 # 1000:dx = DirectoryEntry of Efivar.bin -> BS.com has filled already
89 testw %dx, %dx
100 movw %dx, %di
156 # dx = CachedFatSectorNumber
163 movw $0xfff, %dx # CachedFatSectorNumber = 0xfff
176 … cmpw %dx, %ax # Compare FatSectorNumber to CachedFatSectorNumber
184 movw %ax, %dx # CachedFatSectorNumber = FatSectorNumber
244 incw %dx # dx = (StartLBA % MaxSector) + 1
247 subw %dx, %bx # bx = MaxSector - Sector
[all …]
Dstart16.asm60 ; dx = Start Cluster of Efivar.bin
67 ; 1000:dx = DirectoryEntry of Efivar.bin -> BS.com has filled already
70 test dx,dx
81 mov di,dx
137 ; dx = CachedFatSectorNumber
144 mov dx,0fffh ; CachedFatSectorNumber = 0xfff
157 … cmp ax,dx ; Compare FatSectorNumber to CachedFatSectorNumber
165 mov dx,ax ; CachedFatSectorNumber = FatSectorNumber
225 inc dx ; dx = (StartLBA % MaxSector) + 1
228 sub bx,dx ; bx = MaxSector - Sector
[all …]
Dstart32.asm74 ; dx = Start Cluster of Efivar.bin
82 ; 1000:dx = DirectoryEntry of Efivar.bin -> BS.com has filled already
85 test dx,dx
96 mov di,dx
152 ; dx = CachedFatSectorNumber
159 mov dx,0fffh ; CachedFatSectorNumber = 0xfff
172 … cmp ax,dx ; Compare FatSectorNumber to CachedFatSectorNumber
180 mov dx,ax ; CachedFatSectorNumber = FatSectorNumber
240 inc dx ; dx = (StartLBA % MaxSector) + 1
243 sub bx,dx ; bx = MaxSector - Sector
[all …]
Dstart.asm60 ; dx = Start Cluster of Efivar.bin
67 ; 1000:dx = DirectoryEntry of Efivar.bin -> BS.com has filled already
70 test dx,dx
81 mov di,dx
137 ; dx = CachedFatSectorNumber
144 mov dx,0fffh ; CachedFatSectorNumber = 0xfff
159 … cmp ax,dx ; Compare FatSectorNumber to CachedFatSectorNumber
167 mov dx,ax ; CachedFatSectorNumber = FatSectorNumber
232 inc dx ; dx = (StartLBA % MaxSector) + 1
235 sub bx,dx ; bx = MaxSector - Sector
[all …]
Dst32_64.S79 # dx = Start Cluster of Efivar.bin
86 # 1000:dx = DirectoryEntry of Efivar.bin -> BS.com has filled already
89 testw %dx,%dx
100 movw %dx,%di
168 # dx = CachedFatSectorNumber
175 movw $0xfff,%dx # CachedFatSectorNumber = 0xfff
188 … cmpw %dx,%ax # Compare FatSectorNumber to CachedFatSectorNumber
196 movw %ax,%dx # CachedFatSectorNumber = FatSectorNumber
256 incw %dx # dx = (StartLBA % MaxSector) + 1
259 subw %dx,%bx # bx = MaxSector - Sector
[all …]
Dstart64.S64 # dx = Start Cluster of Efivar.bin
71 # 1000:dx = DirectoryEntry of Efivar.bin -> BS.com has filled already
74 testw %dx,%dx
85 movw %dx,%di
153 # dx = CachedFatSectorNumber
160 movw $0xfff,%dx # CachedFatSectorNumber = 0xfff
175 … cmpw %dx,%ax # Compare FatSectorNumber to CachedFatSectorNumber
183 movw %ax,%dx # CachedFatSectorNumber = FatSectorNumber
248 incw %dx # dx = (StartLBA % MaxSector) + 1
251 subw %dx,%bx # bx = MaxSector - Sector
[all …]
Dst16_64.S64 # dx = Start Cluster of Efivar.bin
71 # 1000:dx = DirectoryEntry of Efivar.bin -> BS.com has filled already
74 testw %dx,%dx
85 movw %dx,%di
153 # dx = CachedFatSectorNumber
160 movw $0xfff,%dx # CachedFatSectorNumber = 0xfff
173 … cmpw %dx,%ax # Compare FatSectorNumber to CachedFatSectorNumber
181 movw %ax,%dx # CachedFatSectorNumber = FatSectorNumber
241 incw %dx # dx = (StartLBA % MaxSector) + 1
244 subw %dx,%bx # bx = MaxSector - Sector
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformSecLib/Ia32/
DFlat32.S183 .byte 0xba,0xf9,0x0c #movw $0xcf9, %dx
184 .byte 0xee #outb %al, %dx
498 movw $(RTC_INDEX), %dx
499 outb %al, %dx
500 movw $(RTC_DATA), %dx
501 inb %dx, %al
527 movw $(ILB_RESET_REG), %dx
528 outw %ax, %dx
536 movw $(ILB_RESET_REG), %dx
537 outw %ax, %dx
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Ia32/
DInterlockedCompareExchange16.c47 mov dx, ExchangeValue in InternalSyncCompareExchange16()
48 lock cmpxchg [ecx], dx in InternalSyncCompareExchange16()
DInterlockedCompareExchange16.asm41 mov dx, [esp + 12]
42 lock cmpxchg [ecx], dx
DInterlockedCompareExchange16.nasm40 mov dx, [esp + 12]
41 lock cmpxchg [ecx], dx
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/
DSerialDebug.asm64 mov dx, (SERIAL_PORT_IO_BASE_ADDRESS + %1)
65 in al, dx
78 mov dx, (SERIAL_PORT_IO_BASE_ADDRESS + %1)
80 out dx, al
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/
DSmiException.asm100 and dx, 0FFFBh ; clear XD Disable bit if it is set
121 or dx, BIT2 ; set XD Disable bit if it was set before entering into SMM
142 and dx, 0FFFBh ; clear XD Disable bit if it is set
163 or dx, BIT2 ; set XD Disable bit if it was set before entering into SMM

1234