Home
last modified time | relevance | path

Searched refs:mov (Results 1 – 25 of 1363) sorted by relevance

12345678910>>...55

/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ipf/
DReadAr.s46 mov r15=2
47 mov r14=pr // save predicates
53 (p7) mov r15=0 // if bad range (48-63)
55 mov ret0=-1 // in case of illegal AR #
58 mov pr=r15,-1
66 (p1) mov ret0=ar.k0 // ar0
67 (p2) mov ret0=ar.k1 // ar1
68 (p3) mov ret0=ar.k2 // ar2
69 (p4) mov ret0=ar.k3 // ar3
70 (p5) mov ret0=ar.k4 // ar4
[all …]
DReadCr.s46 mov r15=2
47 mov r14=pr // save predicates
53 (p7) mov r15=0 // if bad range (32-63)
55 mov ret0=-1 // in case of illegal CR #
58 mov pr=r15,-1
67 (p1) mov ret0=cr.dcr // cr0
68 (p2) mov ret0=cr.itm // cr1
69 (p3) mov ret0=cr.iva // cr2
70 (p9) mov ret0=cr.pta // cr8
71 (p17) mov ret0=cr.ipsr // cr16
[all …]
DAsmPalCall.s69 mov loc0 = b0
70 mov loc3 = b5
71 mov loc4 = r2
72 mov loc7 = r1
73 mov r2 = psr;;
74 mov r28 = in1
75 mov loc5 = r2;;
91 (p7) mov r8 = 0xFFFFFFFFFFFFFFFF;; // > 1024 return invalid
107 mov loc6 = 0x1;;
115 mov psr.l = r2
[all …]
DSwitchStack.s24 mov r14 = ar.rsc
27 mov r17 = in1
28 mov r18 = in2
33 mov ar.rsc = r2
34 mov sp = in3
35 mov r19 = in4
39 mov r3 = -1
42 mov ar.bspstore = r19
43 mov b7 = r16
46 mov out0 = r17
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MpInitLib/Ia32/
DMpFuncs.nasm38 mov ebp, eax ; save BIST information
40 mov ax, cs
41 mov ds, ax
42 mov es, ax
43 mov ss, ax
45 mov fs, ax
46 mov gs, ax
48 mov si, BufferStartLocation
49 mov ebx, [si]
51 mov si, ModeOffsetLocation
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DMpFuncs.nasm55 mov ax, cs
56 mov ds, ax
57 mov es, ax
58 mov ss, ax
60 mov fs, ax
61 mov gs, ax
65 mov si, BufferStartLocation
66 mov edx,dword [si] ; EDX is keeping the start address of wakeup buffer
68 mov si, Cr3OffsetLocation
69 mov ecx,dword [si] ; ECX is keeping the value of CR3
[all …]
DSmiEntry.nasm69 mov bx, _GdtDesc - _SmiEntryPoint + 0x8000
70 mov ax,[cs:DSC_OFFSET + DSC_GDTSIZ]
72 mov [cs:bx], ax
73 mov eax, [cs:DSC_OFFSET + DSC_GDTPTR]
74 mov [cs:bx + 2], eax
76 mov ax, PROTECT_MODE_CS
77 mov [cs:bx-0x2],ax
78 DB 0x66, 0xbf ; mov edi, SMBASE
81 mov [cs:bx-0x6],eax
82 mov ebx, cr0
[all …]
DMpFuncs.asm52 db 8ch, 0c8h ; mov ax, cs
53 db 8eh, 0d8h ; mov ds, ax
54 db 8eh, 0c0h ; mov es, ax
55 db 8eh, 0d0h ; mov ss, ax
57 db 8eh, 0e0h ; mov fs, ax
58 db 8eh, 0e8h ; mov gs, ax
63 dw BufferStartLocation ; mov si, BufferStartLocation
64 …db 66h, 8Bh, 14h ; mov edx,dword ptr [si] ; EDX is keeping the start …
67 dw Cr3OffsetLocation ; mov si, Cr3Location
68 …db 66h, 8Bh, 0Ch ; mov ecx,dword ptr [si] ; ECX is keeping the value …
[all …]
DSmiEntry.asm72 DB 0bbh ; mov bx, imm16
75 DB 2eh, 0a1h ; mov ax, cs:[offset16]
79 mov [rdi], eax ; mov cs:[bx], ax
80 DB 66h, 2eh, 0a1h ; mov eax, cs:[offset16]
83 mov [rdi + 2], ax ; mov cs:[bx + 2], eax
87 DB 0b8h ; mov ax, imm16
90 mov [rdi - 2], eax ; mov cs:[bx - 2], ax
92 DB 66h, 0bfh ; mov edi, SMBASE
96 mov [rdi - 6], ax ; mov cs:[bx - 6], eax
98 mov rbx, cr0
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ipf/
DAsmPalCall.s69 mov loc0 = b0
70 mov loc3 = b5
71 mov loc4 = r2
72 mov loc7 = r1
73 mov r2 = psr;;
74 mov r28 = in1
75 mov loc5 = r2;;
91 (p7) mov r8 = 0xFFFFFFFFFFFFFFFF;; // > 1024 return invalid
107 mov loc6 = 0x1;;
115 mov psr.l = r2
[all …]
DSwitchStack.s25 mov r14 = ar.rsc
28 mov r17 = in1
29 mov r18 = in2
32 mov ar.rsc = r2
33 mov sp = in3
34 mov r19 = in4
38 mov r3 = -1
41 mov ar.bspstore = r19
42 mov b7 = r16
45 mov out0 = r17
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ipf/
DAsmFuncs.s40 (p6) mov r33=32;;
167 mov r8=1 // r8 = success
168 mov r2=cr.iva;;
177mov out2=0x40;; // out2 = number of bundles to copy... save entire IDT …
183 mov out2=PATCH_CODE_SIZE;;
192 mov out2=1;; // out2 = copy 1 bundle
199 mov out2=out0;; // out2 = IP address of new location
206 mov out2=1;; // out2 = copy 1 bundle
212 mov out2=1;; // out2 = copy 1 bundle
243 mov r8=1 // r8 = success
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/
DSmiEntry.nasm70 mov bx, _StmGdtDesc - _StmSmiEntryPoint + 0x8000
71 mov ax,[cs:DSC_OFFSET + DSC_GDTSIZ]
73 mov [cs:bx], ax
74 mov eax, [cs:DSC_OFFSET + DSC_GDTPTR]
75 mov [cs:bx + 2], eax
77 mov ax, PROTECT_MODE_CS
78 mov [cs:bx-0x2],ax
79 DB 0x66, 0xbf ; mov edi, SMBASE
82 mov [cs:bx-0x6],eax
83 mov ebx, cr0
[all …]
DSmiEntry.asm73 DB 0bbh ; mov bx, imm16
76 DB 2eh, 0a1h ; mov ax, cs:[offset16]
80 mov [rdi], eax ; mov cs:[bx], ax
81 DB 66h, 2eh, 0a1h ; mov eax, cs:[offset16]
84 mov [rdi + 2], ax ; mov cs:[bx + 2], eax
88 DB 0b8h ; mov ax, imm16
91 mov [rdi - 2], eax ; mov cs:[bx - 2], ax
93 DB 66h, 0bfh ; mov edi, SMBASE
97 mov [rdi - 6], ax ; mov cs:[bx - 6], eax
99 mov rbx, cr0
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Arm/
DMath64.S26 mov r6, r1
28 mov r4, r6, asl r2
31 mov r3, r0, asl r2
33 mov r5, r0
34 mov r0, r3
35 mov r1, r4
44 mov r5, r0
46 mov r3, r5, lsr r2
49 mov r4, r1, lsr r2
51 mov r6, r1
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmPlatformStackLib/Arm/
DArmPlatformStackLib.S25 mov r6, r3
26 mov r5, r2
27 mov r4, r1
28 mov r3, r0
31 mov r7, lr
34 mov r0, r1
39 mov r0, r3
40 mov r1, r4
41 mov r2, r5
42 mov r3, r6
[all …]
DArmPlatformStackLib.asm40 mov r6, r3
41 mov r5, r2
42 mov r4, r1
43 mov r3, r0
46 mov r7, lr
49 mov r0, r1
54 mov r0, r3
55 mov r1, r4
56 mov r2, r5
57 mov r3, r6
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSmiEntry.asm62 DB 0bbh ; mov bx, imm16
64 DB 2eh, 0a1h ; mov ax, cs:[offset16]
67 mov cs:[edi], eax ; mov cs:[bx], ax
68 DB 66h, 2eh, 0a1h ; mov eax, cs:[offset16]
70 mov cs:[edi + 2], ax ; mov cs:[bx + 2], eax
71 mov bp, ax ; ebp = GDT base
75 DB 0b8h ; mov ax, imm16
77 mov cs:[edi - 2], eax ; mov cs:[bx - 2], ax
79 DB 66h, 0bfh ; mov edi, SMBASE
83 mov cs:[edi - 6], ax ; mov cs:[bx - 6], eax
[all …]
DMpFuncs.nasm52 mov ax, cs
53 mov ds, ax
54 mov es, ax
55 mov ss, ax
57 mov fs, ax
58 mov gs, ax
62 mov si, BufferStart
63 mov edx,dword [si] ; EDX is keeping the start address of wakeup buffer
65 mov si, GdtrProfile
68 mov si, IdtrProfile
[all …]
DSmiEntry.nasm58 mov bx, _GdtDesc - _SmiEntryPoint + 0x8000
59 mov ax,[cs:DSC_OFFSET + DSC_GDTSIZ]
61 mov [cs:bx], ax
62 mov eax, [cs:DSC_OFFSET + DSC_GDTPTR]
63 mov [cs:bx + 2], eax
64 mov ebp, eax ; ebp = GDT base
66 mov ax, PROTECT_MODE_CS
67 mov [cs:bx-0x2],ax
68 DB 0x66, 0xbf ; mov edi, SMBASE
71 mov [cs:bx-0x6],eax
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmPlatformStackLib/AArch64/
DArmPlatformStackLib.S25 mov x6, x3
26 mov x5, x2
27 mov x4, x1
28 mov x3, x0
31 mov x7, x30
34 mov x0, x1
39 mov x0, x3
40 mov x1, x4
41 mov x2, x5
42 mov x3, x6
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MpInitLib/X64/
DMpFuncs.nasm42 mov ebp, eax ; Save BIST information
44 mov ax, cs
45 mov ds, ax
46 mov es, ax
47 mov ss, ax
49 mov fs, ax
50 mov gs, ax
52 mov si, BufferStartLocation
53 mov ebx, [si]
55 mov di, ModeOffsetLocation
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/X64/
DMpFuncs.asm34 db 8ch, 0c8h ; mov ax, cs
35 db 8eh, 0d8h ; mov ds, ax
36 db 8eh, 0c0h ; mov es, ax
37 db 8eh, 0d0h ; mov ss, ax
39 db 8eh, 0e0h ; mov fs, ax
40 db 8eh, 0e8h ; mov gs, ax
45 dw BufferStartLocation ; mov si, BufferStartLocation
46 …db 66h, 8Bh, 14h ; mov edx,dword ptr [si] ; EDX is keeping the start …
49 dw Cr3OffsetLocation ; mov si, Cr3Location
50 …db 66h, 8Bh, 0Ch ; mov ecx,dword ptr [si] ; ECX is keeping the value …
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/IA32/
DCpuIA32.c53 mov eax, RegisterInEax in EfiCpuid()
57 mov edi, DWORD PTR Reg in EfiCpuid()
59 mov DWORD PTR [edi].RegEax, eax ; Reg->RegEax in EfiCpuid()
60 mov DWORD PTR [edi].RegEbx, ebx ; Reg->RegEbx in EfiCpuid()
61 mov DWORD PTR [edi].RegEcx, ecx ; Reg->RegEcx in EfiCpuid()
62 mov DWORD PTR [edi].RegEdx, edx ; Reg->RegEdx in EfiCpuid()
73 mov ecx, Index in EfiReadMsr()
85 mov ecx, Index in EfiWriteMsr()
86 mov eax, DWORD PTR Value[0] in EfiWriteMsr()
87 mov edx, DWORD PTR Value[4] in EfiWriteMsr()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/CpuIA32Lib/IA32/
DCpuIA32.c65 mov eax, RegisterInEax
69 mov edi, DWORD PTR Reg
71 mov DWORD PTR [edi].RegEax, eax ; Reg->RegEax
72 mov DWORD PTR [edi].RegEbx, ebx ; Reg->RegEbx
73 mov DWORD PTR [edi].RegEcx, ecx ; Reg->RegEcx in EfiReadMsr()
74 mov DWORD PTR [edi].RegEdx, edx ; Reg->RegEdx
85 mov ecx, Index in EfiWriteMsr()
97 mov ecx, Index in EfiReadTsc()
98 mov eax, DWORD PTR Value[0] in EfiReadTsc()
99 mov edx, DWORD PTR Value[4] in EfiReadTsc()
[all …]

12345678910>>...55