x86
stringlengths 335
106k
| arm
stringlengths 349
104k
|
---|---|
.file "extr_h3xxx.c_h3xxx_flash_exit.c"
.intel_syntax noprefix
.text
.p2align 4
.type h3xxx_flash_exit, @function
h3xxx_flash_exit:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR H3XXX_EGPIO_VPP_ON[rip]
jmp gpio_free@PLT
.cfi_endproc
.LFE0:
.size h3xxx_flash_exit, .-h3xxx_flash_exit
.globl H3XXX_EGPIO_VPP_ON
.bss
.align 4
.type H3XXX_EGPIO_VPP_ON, @object
.size H3XXX_EGPIO_VPP_ON, 4
H3XXX_EGPIO_VPP_ON:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_h3xxx.c_h3xxx_flash_exit.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h3xxx_flash_exit, %function
h3xxx_flash_exit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
b gpio_free
.L4:
.align 2
.L3:
.word H3XXX_EGPIO_VPP_ON
.size h3xxx_flash_exit, .-h3xxx_flash_exit
.comm H3XXX_EGPIO_VPP_ON,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_h3xxx.c_h3xxx_set_vpp.c"
.intel_syntax noprefix
.text
.p2align 4
.type h3xxx_set_vpp, @function
h3xxx_set_vpp:
.LFB0:
.cfi_startproc
endbr64
mov esi, edi
mov edi, DWORD PTR H3XXX_EGPIO_VPP_ON[rip]
jmp gpio_set_value@PLT
.cfi_endproc
.LFE0:
.size h3xxx_set_vpp, .-h3xxx_set_vpp
.globl H3XXX_EGPIO_VPP_ON
.bss
.align 4
.type H3XXX_EGPIO_VPP_ON, @object
.size H3XXX_EGPIO_VPP_ON, 4
H3XXX_EGPIO_VPP_ON:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_h3xxx.c_h3xxx_set_vpp.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h3xxx_set_vpp, %function
h3xxx_set_vpp:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r1, r0
ldr r0, [r3]
b gpio_set_value
.L4:
.align 2
.L3:
.word H3XXX_EGPIO_VPP_ON
.size h3xxx_set_vpp, .-h3xxx_set_vpp
.comm H3XXX_EGPIO_VPP_ON,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_h3xxx.c_h3xxx_uart_set_wake.c"
.intel_syntax noprefix
.text
.p2align 4
.type h3xxx_uart_set_wake, @function
h3xxx_uart_set_wake:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR _Ser3UTCR0[rip]
cmp QWORD PTR [rdi], rax
je .L2
mov eax, DWORD PTR EINVAL[rip]
neg eax
ret
.p2align 4,,10
.p2align 3
.L2:
mov eax, DWORD PTR PWER_GPIO23[rip]
mov edx, DWORD PTR PWER[rip]
or eax, DWORD PTR PWER_GPIO25[rip]
test rsi, rsi
je .L4
or eax, edx
mov DWORD PTR PWER[rip], eax
xor eax, eax
ret
.p2align 4,,10
.p2align 3
.L4:
not eax
and eax, edx
mov DWORD PTR PWER[rip], eax
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size h3xxx_uart_set_wake, .-h3xxx_uart_set_wake
.globl _Ser3UTCR0
.bss
.align 8
.type _Ser3UTCR0, @object
.size _Ser3UTCR0, 8
_Ser3UTCR0:
.zero 8
.globl PWER_GPIO25
.align 4
.type PWER_GPIO25, @object
.size PWER_GPIO25, 4
PWER_GPIO25:
.zero 4
.globl PWER_GPIO23
.align 4
.type PWER_GPIO23, @object
.size PWER_GPIO23, 4
PWER_GPIO23:
.zero 4
.globl PWER
.align 4
.type PWER, @object
.size PWER, 4
PWER:
.zero 4
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_h3xxx.c_h3xxx_uart_set_wake.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h3xxx_uart_set_wake, %function
h3xxx_uart_set_wake:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L6
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
beq .L2
ldr r3, .L6+4
ldr r0, [r3]
rsb r0, r0, #0
bx lr
.L2:
ldr r2, .L6+8
ldr r3, .L6+12
ldr r0, [r2]
ldr r2, .L6+16
ldr r3, [r3]
ldr ip, [r2]
cmp r1, #0
orr r3, r3, r0
orrne r3, r3, ip
biceq r3, ip, r3
movne r0, #0
strne r3, [r2]
moveq r0, r1
streq r3, [r2]
bx lr
.L7:
.align 2
.L6:
.word _Ser3UTCR0
.word EINVAL
.word PWER_GPIO25
.word PWER_GPIO23
.word PWER
.size h3xxx_uart_set_wake, .-h3xxx_uart_set_wake
.comm _Ser3UTCR0,4,4
.comm PWER_GPIO25,4,4
.comm PWER_GPIO23,4,4
.comm PWER,4,4
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_jornada720.c_jornada720_set_vpp.c"
.intel_syntax noprefix
.text
.p2align 4
.type jornada720_set_vpp, @function
jornada720_set_vpp:
.LFB0:
.cfi_startproc
endbr64
mov edx, DWORD PTR PPC_LDD7[rip]
mov ecx, DWORD PTR PPSR[rip]
mov eax, edx
or ecx, edx
not eax
and eax, DWORD PTR PPSR[rip]
test edi, edi
cmovne eax, ecx
or DWORD PTR PPDR[rip], edx
mov DWORD PTR PPSR[rip], eax
ret
.cfi_endproc
.LFE0:
.size jornada720_set_vpp, .-jornada720_set_vpp
.globl PPSR
.bss
.align 4
.type PPSR, @object
.size PPSR, 4
PPSR:
.zero 4
.globl PPDR
.align 4
.type PPDR, @object
.size PPDR, 4
PPDR:
.zero 4
.globl PPC_LDD7
.align 4
.type PPC_LDD7, @object
.size PPC_LDD7, 4
PPC_LDD7:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_jornada720.c_jornada720_set_vpp.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type jornada720_set_vpp, %function
jornada720_set_vpp:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L5
ldr r2, .L5+4
cmp r0, #0
ldr r0, [r2]
ldr r2, [r3]
ldr r1, .L5+8
orrne r2, r0, r2
biceq r2, r2, r0
str r2, [r3]
ldr r3, [r1]
orr r3, r3, r0
str r3, [r1]
bx lr
.L6:
.align 2
.L5:
.word PPSR
.word PPC_LDD7
.word PPDR
.size jornada720_set_vpp, .-jornada720_set_vpp
.comm PPSR,4,4
.comm PPDR,4,4
.comm PPC_LDD7,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_jornada720_ssp.c_jornada_ssp_end.c"
.intel_syntax noprefix
.text
.p2align 4
.globl jornada_ssp_end
.type jornada_ssp_end, @function
jornada_ssp_end:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR GPIO_GPIO25[rip]
mov esi, DWORD PTR jornada_ssp_flags[rip]
lea rdi, jornada_ssp_lock[rip]
mov DWORD PTR GPSR[rip], eax
jmp spin_unlock_irqrestore@PLT
.cfi_endproc
.LFE0:
.size jornada_ssp_end, .-jornada_ssp_end
.globl jornada_ssp_lock
.bss
.align 4
.type jornada_ssp_lock, @object
.size jornada_ssp_lock, 4
jornada_ssp_lock:
.zero 4
.globl jornada_ssp_flags
.align 4
.type jornada_ssp_flags, @object
.size jornada_ssp_flags, 4
jornada_ssp_flags:
.zero 4
.globl GPSR
.align 4
.type GPSR, @object
.size GPSR, 4
GPSR:
.zero 4
.globl GPIO_GPIO25
.align 4
.type GPIO_GPIO25, @object
.size GPIO_GPIO25, 4
GPIO_GPIO25:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_jornada720_ssp.c_jornada_ssp_end.c"
.text
.align 2
.global jornada_ssp_end
.syntax unified
.arm
.fpu softvfp
.type jornada_ssp_end, %function
jornada_ssp_end:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r1, .L3+4
ldr r2, [r3]
ldr r3, .L3+8
ldr r1, [r1]
ldr r0, .L3+12
str r2, [r3]
b spin_unlock_irqrestore
.L4:
.align 2
.L3:
.word GPIO_GPIO25
.word jornada_ssp_flags
.word GPSR
.word jornada_ssp_lock
.size jornada_ssp_end, .-jornada_ssp_end
.comm jornada_ssp_lock,4,4
.comm jornada_ssp_flags,4,4
.comm GPSR,4,4
.comm GPIO_GPIO25,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_jornada720_ssp.c_jornada_ssp_inout.c"
.intel_syntax noprefix
.text
.p2align 4
.globl jornada_ssp_inout
.type jornada_ssp_inout, @function
jornada_ssp_inout:
.LFB0:
.cfi_startproc
endbr64
cmp DWORD PTR TXDUMMY[rip], edi
je .L2
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
call jornada_ssp_byte@PLT
mov edi, DWORD PTR TXDUMMY[rip]
cmp edi, eax
je .L1
mov ebx, 256
jmp .L5
.p2align 4,,10
.p2align 3
.L16:
sub ebx, 1
je .L4
mov edi, DWORD PTR TXDUMMY[rip]
.L5:
call jornada_ssp_byte@PLT
cmp eax, -1
jne .L16
.L4:
mov eax, DWORD PTR ETIMEDOUT[rip]
neg eax
.L1:
pop rbx
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore 3
jmp jornada_ssp_byte@PLT
.cfi_endproc
.LFE0:
.size jornada_ssp_inout, .-jornada_ssp_inout
.globl TXDUMMY
.bss
.align 4
.type TXDUMMY, @object
.size TXDUMMY, 4
TXDUMMY:
.zero 4
.globl ETIMEDOUT
.align 4
.type ETIMEDOUT, @object
.size ETIMEDOUT, 4
ETIMEDOUT:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_jornada720_ssp.c_jornada_ssp_inout.c"
.text
.align 2
.global jornada_ssp_inout
.syntax unified
.arm
.fpu softvfp
.type jornada_ssp_inout, %function
jornada_ssp_inout:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L15
ldr r3, [r5]
cmp r3, r0
beq .L2
bl jornada_ssp_byte
mov r3, r0
ldr r0, [r5]
cmp r0, r3
beq .L1
mov r4, #256
b .L5
.L14:
subs r4, r4, #1
beq .L4
ldr r0, [r5]
.L5:
bl jornada_ssp_byte
cmn r0, #1
bne .L14
.L4:
ldr r3, .L15+4
ldr r3, [r3]
rsb r3, r3, #0
.L1:
mov r0, r3
pop {r4, r5, r6, pc}
.L2:
pop {r4, r5, r6, lr}
b jornada_ssp_byte
.L16:
.align 2
.L15:
.word TXDUMMY
.word ETIMEDOUT
.size jornada_ssp_inout, .-jornada_ssp_inout
.comm TXDUMMY,4,4
.comm ETIMEDOUT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_jornada720_ssp.c_jornada_ssp_remove.c"
.intel_syntax noprefix
.text
.p2align 4
.type jornada_ssp_remove, @function
jornada_ssp_remove:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov eax, DWORD PTR GPIO_GPIO25[rip]
mov DWORD PTR GPSR[rip], eax
xor eax, eax
call ssp_exit@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size jornada_ssp_remove, .-jornada_ssp_remove
.globl GPSR
.bss
.align 4
.type GPSR, @object
.size GPSR, 4
GPSR:
.zero 4
.globl GPIO_GPIO25
.align 4
.type GPIO_GPIO25, @object
.size GPIO_GPIO25, 4
GPIO_GPIO25:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_jornada720_ssp.c_jornada_ssp_remove.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type jornada_ssp_remove, %function
jornada_ssp_remove:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, .L4
ldr r3, .L4+4
ldr r2, [r2]
push {r4, lr}
str r2, [r3]
bl ssp_exit
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word GPIO_GPIO25
.word GPSR
.size jornada_ssp_remove, .-jornada_ssp_remove
.comm GPSR,4,4
.comm GPIO_GPIO25,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_jornada720_ssp.c_jornada_ssp_reverse.c"
.intel_syntax noprefix
.text
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_jornada720_ssp.c_jornada_ssp_reverse.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_jornada720_ssp.c_jornada_ssp_start.c"
.intel_syntax noprefix
.text
.p2align 4
.globl jornada_ssp_start
.type jornada_ssp_start, @function
jornada_ssp_start:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, DWORD PTR jornada_ssp_flags[rip]
lea rdi, jornada_ssp_lock[rip]
call spin_lock_irqsave@PLT
mov eax, DWORD PTR GPIO_GPIO25[rip]
mov edi, 50
mov DWORD PTR GPCR[rip], eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp udelay@PLT
.cfi_endproc
.LFE0:
.size jornada_ssp_start, .-jornada_ssp_start
.globl jornada_ssp_lock
.bss
.align 4
.type jornada_ssp_lock, @object
.size jornada_ssp_lock, 4
jornada_ssp_lock:
.zero 4
.globl jornada_ssp_flags
.align 4
.type jornada_ssp_flags, @object
.size jornada_ssp_flags, 4
jornada_ssp_flags:
.zero 4
.globl GPIO_GPIO25
.align 4
.type GPIO_GPIO25, @object
.size GPIO_GPIO25, 4
GPIO_GPIO25:
.zero 4
.globl GPCR
.align 4
.type GPCR, @object
.size GPCR, 4
GPCR:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_jornada720_ssp.c_jornada_ssp_start.c"
.text
.align 2
.global jornada_ssp_start
.syntax unified
.arm
.fpu softvfp
.type jornada_ssp_start, %function
jornada_ssp_start:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
ldr r1, [r3]
ldr r0, .L4+4
bl spin_lock_irqsave
pop {r4, lr}
ldr r2, .L4+8
ldr r3, .L4+12
ldr r2, [r2]
mov r0, #50
str r2, [r3]
b udelay
.L5:
.align 2
.L4:
.word jornada_ssp_flags
.word jornada_ssp_lock
.word GPIO_GPIO25
.word GPCR
.size jornada_ssp_start, .-jornada_ssp_start
.comm jornada_ssp_lock,4,4
.comm jornada_ssp_flags,4,4
.comm GPIO_GPIO25,4,4
.comm GPCR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_neponset.c_neponset_irq_handler.c"
.intel_syntax noprefix
.text
.p2align 4
.type neponset_irq_handler, @function
neponset_irq_handler:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
call irq_desc_get_handler_data@PLT
mov rbp, rax
jmp .L6
.p2align 4,,10
.p2align 3
.L4:
mov eax, ebx
and eax, DWORD PTR IRR_USAR[rip]
jne .L21
.L5:
mov rax, QWORD PTR [r12]
mov rdi, r12
call [QWORD PTR [rax]]
mov eax, DWORD PTR IRR_SA1111[rip]
.L3:
test ebx, eax
jne .L22
.L6:
mov rax, QWORD PTR [r12]
mov rdi, r12
call [QWORD PTR 8[rax]]
mov rdi, QWORD PTR IRR[rip]
add rdi, QWORD PTR 8[rbp]
call readb_relaxed@PLT
mov edx, DWORD PTR IRR_ETHERNET[rip]
or edx, DWORD PTR IRR_USAR[rip]
xor eax, edx
mov ecx, edx
mov ebx, eax
mov eax, DWORD PTR IRR_SA1111[rip]
or ecx, eax
test ecx, ebx
je .L1
test edx, ebx
je .L3
mov rax, QWORD PTR [r12]
mov rdi, r12
call [QWORD PTR 16[rax]]
mov rax, QWORD PTR [r12]
mov rdi, r12
call [QWORD PTR 8[rax]]
mov eax, ebx
and eax, DWORD PTR IRR_ETHERNET[rip]
je .L4
mov rdi, QWORD PTR NEP_IRQ_SMC91X[rip]
add rdi, QWORD PTR 0[rbp]
call generic_handle_irq@PLT
mov eax, ebx
and eax, DWORD PTR IRR_USAR[rip]
je .L5
.L21:
mov rdi, QWORD PTR NEP_IRQ_USAR[rip]
add rdi, QWORD PTR 0[rbp]
call generic_handle_irq@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L22:
.cfi_restore_state
mov rdi, QWORD PTR NEP_IRQ_SA1111[rip]
add rdi, QWORD PTR 0[rbp]
call generic_handle_irq@PLT
jmp .L6
.cfi_endproc
.LFE0:
.size neponset_irq_handler, .-neponset_irq_handler
.globl NEP_IRQ_USAR
.bss
.align 8
.type NEP_IRQ_USAR, @object
.size NEP_IRQ_USAR, 8
NEP_IRQ_USAR:
.zero 8
.globl NEP_IRQ_SMC91X
.align 8
.type NEP_IRQ_SMC91X, @object
.size NEP_IRQ_SMC91X, 8
NEP_IRQ_SMC91X:
.zero 8
.globl NEP_IRQ_SA1111
.align 8
.type NEP_IRQ_SA1111, @object
.size NEP_IRQ_SA1111, 8
NEP_IRQ_SA1111:
.zero 8
.globl IRR_USAR
.align 4
.type IRR_USAR, @object
.size IRR_USAR, 4
IRR_USAR:
.zero 4
.globl IRR_SA1111
.align 4
.type IRR_SA1111, @object
.size IRR_SA1111, 4
IRR_SA1111:
.zero 4
.globl IRR_ETHERNET
.align 4
.type IRR_ETHERNET, @object
.size IRR_ETHERNET, 4
IRR_ETHERNET:
.zero 4
.globl IRR
.align 8
.type IRR, @object
.size IRR, 8
IRR:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_neponset.c_neponset_irq_handler.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type neponset_irq_handler, %function
neponset_irq_handler:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov fp, r0
bl irq_desc_get_handler_data
ldr r8, .L23
mov r7, r0
ldr r6, .L23+4
ldr r5, .L23+8
ldr r4, .L23+12
ldr r10, .L23+16
b .L6
.L4:
ldr r2, [r5]
tst r9, r2
bne .L21
.L5:
ldr r2, [fp]
mov r0, fp
ldr r2, [r2]
blx r2
ldr ip, [r4]
.L3:
tst r9, ip
bne .L22
.L6:
ldr r3, [fp]
mov r0, fp
ldr r3, [r3, #4]
blx r3
ldr r3, [r8]
ldr r0, [r7, #4]
add r0, r0, r3
bl readb_relaxed
ldr r2, [r6]
ldr r3, [r5]
ldr ip, [r4]
orr r2, r2, r3
eor r9, r2, r0
orr r0, r2, ip
tst r0, r9
popeq {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
tst r2, r9
beq .L3
ldr r2, [fp]
mov r0, fp
ldr r2, [r2, #8]
blx r2
ldr r2, [fp]
mov r0, fp
ldr r2, [r2, #4]
blx r2
ldr r2, [r6]
tst r9, r2
beq .L4
ldr r3, .L23+20
ldr r0, [r7]
ldr r2, [r3]
add r0, r0, r2
bl generic_handle_irq
ldr r2, [r5]
tst r9, r2
beq .L5
.L21:
ldr r0, [r7]
ldr r2, [r10]
add r0, r0, r2
bl generic_handle_irq
b .L5
.L22:
ldr r3, .L23+24
ldr r0, [r7]
ldr r3, [r3]
add r0, r0, r3
bl generic_handle_irq
b .L6
.L24:
.align 2
.L23:
.word IRR
.word IRR_ETHERNET
.word IRR_USAR
.word IRR_SA1111
.word NEP_IRQ_USAR
.word NEP_IRQ_SMC91X
.word NEP_IRQ_SA1111
.size neponset_irq_handler, .-neponset_irq_handler
.comm NEP_IRQ_USAR,4,4
.comm NEP_IRQ_SMC91X,4,4
.comm NEP_IRQ_SA1111,4,4
.comm IRR_USAR,4,4
.comm IRR_SA1111,4,4
.comm IRR_ETHERNET,4,4
.comm IRR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_neponset.c_neponset_ncr_frob.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "nep unset\n"
.text
.p2align 4
.globl neponset_ncr_frob
.type neponset_ncr_frob, @function
neponset_ncr_frob:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 40
.cfi_def_cfa_offset 48
mov ecx, edi
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
mov rax, QWORD PTR nep[rip]
mov QWORD PTR 8[rsp], rcx
mov ecx, esi
mov QWORD PTR 16[rsp], rcx
test rax, rax
je .L2
mov rax, QWORD PTR [rax]
lea rdx, 16[rsp]
lea rsi, 8[rsp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call [QWORD PTR [rax]]
.L1:
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L7
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
lea rsi, .LC0[rip]
mov edi, 1
call WARN@PLT
jmp .L1
.L7:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size neponset_ncr_frob, .-neponset_ncr_frob
.globl nep
.bss
.align 8
.type nep, @object
.size nep, 8
nep:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_neponset.c_neponset_ncr_frob.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "nep unset\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global neponset_ncr_frob
.syntax unified
.arm
.fpu softvfp
.type neponset_ncr_frob, %function
neponset_ncr_frob:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L8
sub sp, sp, #20
ldr r3, [r3]
ldr r2, .L8+4
str r0, [sp, #4]
str r1, [sp, #8]
cmp r3, #0
ldr r2, [r2]
str r2, [sp, #12]
mov r2,#0
beq .L2
ldr r3, [r3]
add r2, sp, #8
ldr r0, [r3]
add r1, sp, #4
ldr r3, [r0]
blx r3
.L1:
ldr r3, .L8+4
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L7
add sp, sp, #20
@ sp needed
ldr pc, [sp], #4
.L2:
ldr r1, .L8+8
mov r0, #1
bl WARN
b .L1
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word nep
.word .LC1
.word .LC0
.size neponset_ncr_frob, .-neponset_ncr_frob
.comm nep,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_neponset.c_neponset_remove.c"
.intel_syntax noprefix
.text
.p2align 4
.type neponset_remove, @function
neponset_remove:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call platform_get_drvdata@PLT
mov rdi, r12
xor esi, esi
mov rbp, rax
call platform_get_irq@PLT
mov edi, DWORD PTR 12[rbp]
mov r12d, eax
call IS_ERR@PLT
test eax, eax
je .L6
mov edi, DWORD PTR 8[rbp]
call IS_ERR@PLT
test eax, eax
je .L7
.L3:
lea rdi, neponset_pcmcia_table[rip]
call gpiod_remove_lookup_table@PLT
lea rdi, neponset_uart3_gpio_table[rip]
call gpiod_remove_lookup_table@PLT
lea rdi, neponset_uart1_gpio_table[rip]
call gpiod_remove_lookup_table@PLT
mov edi, r12d
xor esi, esi
call irq_set_chained_handler@PLT
mov edi, DWORD PTR 4[rbp]
mov esi, DWORD PTR NEP_IRQ_NR[rip]
call irq_free_descs@PLT
mov edi, DWORD PTR 0[rbp]
mov QWORD PTR nep[rip], 0
call iounmap@PLT
mov rdi, rbp
call kfree@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov edi, DWORD PTR 12[rbp]
call platform_device_unregister@PLT
mov edi, DWORD PTR 8[rbp]
call IS_ERR@PLT
test eax, eax
jne .L3
.L7:
mov edi, DWORD PTR 8[rbp]
call platform_device_unregister@PLT
jmp .L3
.cfi_endproc
.LFE0:
.size neponset_remove, .-neponset_remove
.globl neponset_uart3_gpio_table
.bss
.align 4
.type neponset_uart3_gpio_table, @object
.size neponset_uart3_gpio_table, 4
neponset_uart3_gpio_table:
.zero 4
.globl neponset_uart1_gpio_table
.align 4
.type neponset_uart1_gpio_table, @object
.size neponset_uart1_gpio_table, 4
neponset_uart1_gpio_table:
.zero 4
.globl neponset_pcmcia_table
.align 4
.type neponset_pcmcia_table, @object
.size neponset_pcmcia_table, 4
neponset_pcmcia_table:
.zero 4
.globl nep
.align 8
.type nep, @object
.size nep, 8
nep:
.zero 8
.globl NEP_IRQ_NR
.align 4
.type NEP_IRQ_NR, @object
.size NEP_IRQ_NR, 4
NEP_IRQ_NR:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_neponset.c_neponset_remove.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type neponset_remove, %function
neponset_remove:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl platform_get_drvdata
mov r1, #0
mov r4, r0
mov r0, r5
bl platform_get_irq
mov r5, r0
ldr r0, [r4, #12]
bl IS_ERR
cmp r0, #0
beq .L6
ldr r0, [r4, #8]
bl IS_ERR
cmp r0, #0
beq .L7
.L3:
mov r6, #0
ldr r0, .L8
bl gpiod_remove_lookup_table
ldr r0, .L8+4
bl gpiod_remove_lookup_table
ldr r0, .L8+8
bl gpiod_remove_lookup_table
mov r1, r6
mov r0, r5
bl irq_set_chained_handler
ldr r3, .L8+12
ldr r0, [r4, #4]
ldr r1, [r3]
bl irq_free_descs
ldr r3, .L8+16
ldr r0, [r4]
str r6, [r3]
bl iounmap
mov r0, r4
bl kfree
mov r0, r6
pop {r4, r5, r6, pc}
.L6:
ldr r0, [r4, #12]
bl platform_device_unregister
ldr r0, [r4, #8]
bl IS_ERR
cmp r0, #0
bne .L3
.L7:
ldr r0, [r4, #8]
bl platform_device_unregister
b .L3
.L9:
.align 2
.L8:
.word neponset_pcmcia_table
.word neponset_uart3_gpio_table
.word neponset_uart1_gpio_table
.word NEP_IRQ_NR
.word nep
.size neponset_remove, .-neponset_remove
.comm neponset_uart3_gpio_table,4,4
.comm neponset_uart1_gpio_table,4,4
.comm neponset_pcmcia_table,4,4
.comm nep,4,4
.comm NEP_IRQ_NR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_neponset.c_nochip_noop.c"
.intel_syntax noprefix
.text
.p2align 4
.type nochip_noop, @function
nochip_noop:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size nochip_noop, .-nochip_noop
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_neponset.c_nochip_noop.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type nochip_noop, %function
nochip_noop:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size nochip_noop, .-nochip_noop
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_sa11x0_pm_enter.c"
.intel_syntax noprefix
.text
.p2align 4
.type sa11x0_pm_enter, @function
sa11x0_pm_enter:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov edi, DWORD PTR GPDR[rip]
mov rbx, QWORD PTR GPLR[rip]
call SAVE@PLT
mov edi, DWORD PTR GAFR[rip]
call SAVE@PLT
mov edi, DWORD PTR PPDR[rip]
call SAVE@PLT
mov edi, DWORD PTR PPSR[rip]
call SAVE@PLT
mov edi, DWORD PTR PPAR[rip]
call SAVE@PLT
mov edi, DWORD PTR PSDR[rip]
call SAVE@PLT
mov edi, DWORD PTR Ser1SDCR0[rip]
call SAVE@PLT
mov edi, DWORD PTR cpu_resume[rip]
mov eax, DWORD PTR RCSR_HWR[rip]
or eax, DWORD PTR RCSR_SWR[rip]
or eax, DWORD PTR RCSR_WDR[rip]
or eax, DWORD PTR RCSR_SMR[rip]
mov DWORD PTR RCSR[rip], eax
call __pa_symbol@PLT
mov esi, DWORD PTR sa1100_finish_suspend[rip]
xor edi, edi
mov QWORD PTR PSPR[rip], rax
call cpu_suspend@PLT
mov eax, DWORD PTR RCSR_SMR[rip]
mov edi, DWORD PTR GPDR[rip]
mov QWORD PTR PSPR[rip], 0
mov QWORD PTR ICLR[rip], 0
mov DWORD PTR RCSR[rip], eax
mov DWORD PTR ICCR[rip], 1
mov QWORD PTR ICMR[rip], 0
call RESTORE@PLT
mov edi, DWORD PTR GAFR[rip]
call RESTORE@PLT
mov edi, DWORD PTR PPDR[rip]
call RESTORE@PLT
mov edi, DWORD PTR PPSR[rip]
call RESTORE@PLT
mov edi, DWORD PTR PPAR[rip]
call RESTORE@PLT
mov edi, DWORD PTR PSDR[rip]
call RESTORE@PLT
mov edi, DWORD PTR Ser1SDCR0[rip]
call RESTORE@PLT
mov eax, DWORD PTR PSSR_PH[rip]
mov QWORD PTR GPSR[rip], rbx
not rbx
mov QWORD PTR GPCR[rip], rbx
pop rbx
.cfi_def_cfa_offset 8
mov DWORD PTR PSSR[rip], eax
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size sa11x0_pm_enter, .-sa11x0_pm_enter
.globl sa1100_finish_suspend
.bss
.align 4
.type sa1100_finish_suspend, @object
.size sa1100_finish_suspend, 4
sa1100_finish_suspend:
.zero 4
.globl cpu_resume
.align 4
.type cpu_resume, @object
.size cpu_resume, 4
cpu_resume:
.zero 4
.globl Ser1SDCR0
.align 4
.type Ser1SDCR0, @object
.size Ser1SDCR0, 4
Ser1SDCR0:
.zero 4
.globl SLEEP_SAVE_COUNT
.align 4
.type SLEEP_SAVE_COUNT, @object
.size SLEEP_SAVE_COUNT, 4
SLEEP_SAVE_COUNT:
.zero 4
.globl RCSR_WDR
.align 4
.type RCSR_WDR, @object
.size RCSR_WDR, 4
RCSR_WDR:
.zero 4
.globl RCSR_SWR
.align 4
.type RCSR_SWR, @object
.size RCSR_SWR, 4
RCSR_SWR:
.zero 4
.globl RCSR_SMR
.align 4
.type RCSR_SMR, @object
.size RCSR_SMR, 4
RCSR_SMR:
.zero 4
.globl RCSR_HWR
.align 4
.type RCSR_HWR, @object
.size RCSR_HWR, 4
RCSR_HWR:
.zero 4
.globl RCSR
.align 4
.type RCSR, @object
.size RCSR, 4
RCSR:
.zero 4
.globl PSSR_PH
.align 4
.type PSSR_PH, @object
.size PSSR_PH, 4
PSSR_PH:
.zero 4
.globl PSSR
.align 4
.type PSSR, @object
.size PSSR, 4
PSSR:
.zero 4
.globl PSPR
.align 8
.type PSPR, @object
.size PSPR, 8
PSPR:
.zero 8
.globl PSDR
.align 4
.type PSDR, @object
.size PSDR, 4
PSDR:
.zero 4
.globl PPSR
.align 4
.type PPSR, @object
.size PPSR, 4
PPSR:
.zero 4
.globl PPDR
.align 4
.type PPDR, @object
.size PPDR, 4
PPDR:
.zero 4
.globl PPAR
.align 4
.type PPAR, @object
.size PPAR, 4
PPAR:
.zero 4
.globl ICMR
.align 8
.type ICMR, @object
.size ICMR, 8
ICMR:
.zero 8
.globl ICLR
.align 8
.type ICLR, @object
.size ICLR, 8
ICLR:
.zero 8
.globl ICCR
.align 4
.type ICCR, @object
.size ICCR, 4
ICCR:
.zero 4
.globl GPSR
.align 8
.type GPSR, @object
.size GPSR, 8
GPSR:
.zero 8
.globl GPLR
.align 8
.type GPLR, @object
.size GPLR, 8
GPLR:
.zero 8
.globl GPDR
.align 4
.type GPDR, @object
.size GPDR, 4
GPDR:
.zero 4
.globl GPCR
.align 8
.type GPCR, @object
.size GPCR, 8
GPCR:
.zero 8
.globl GAFR
.align 4
.type GAFR, @object
.size GAFR, 4
GAFR:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_sa11x0_pm_enter.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sa11x0_pm_enter, %function
sa11x0_pm_enter:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r2, .L4
ldr r3, .L4+4
ldr r5, [r2]
ldr r9, .L4+8
sub sp, sp, #12
ldr r0, [r3]
ldr r8, .L4+12
ldr r7, .L4+16
str r5, [sp, #4]
bl SAVE
ldr r0, [r9]
bl SAVE
ldr r6, .L4+20
ldr r0, [r8]
bl SAVE
ldr r5, .L4+24
ldr r0, [r7]
bl SAVE
ldr r4, .L4+28
ldr r0, [r6]
bl SAVE
ldr r0, [r5]
bl SAVE
ldr r0, [r4]
bl SAVE
ldr r2, .L4+32
ldr r1, .L4+36
ldr ip, .L4+40
ldr r0, [r2]
ldr r1, [r1]
ldr r2, .L4+44
ldr lr, [ip]
orr r1, r1, r0
ldr ip, [r2]
ldr r0, .L4+48
orr r1, r1, lr
ldr fp, .L4+52
orr r1, r1, ip
ldr r0, [r0]
str r1, [fp]
bl __pa_symbol
mov ip, r0
ldr r1, .L4+56
ldr r10, .L4+60
ldr r1, [r1]
mov r0, #0
str ip, [r10]
bl cpu_suspend
mov r1, #0
mov ip, #1
ldr r2, .L4+44
ldr r3, .L4+4
ldr lr, [r2]
ldr r0, [r3]
ldr r2, .L4+64
ldr r3, .L4+68
str lr, [fp]
ldr lr, .L4+72
str r1, [r10]
str r1, [r2]
str r1, [lr]
str ip, [r3]
bl RESTORE
ldr r0, [r9]
bl RESTORE
ldr r0, [r8]
bl RESTORE
ldr r0, [r7]
bl RESTORE
ldr r0, [r6]
bl RESTORE
ldr r0, [r5]
bl RESTORE
ldr r0, [r4]
bl RESTORE
mov r1, #0
ldr r5, [sp, #4]
mov r0, r1
mvn lr, r5
ldr r3, .L4+76
ldr r4, .L4+80
ldr r2, [r3]
ldr ip, .L4+84
ldr r3, .L4+88
str r5, [r4]
str lr, [ip]
str r2, [r3]
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
.align 2
.L4:
.word GPLR
.word GPDR
.word GAFR
.word PPDR
.word PPSR
.word PPAR
.word PSDR
.word Ser1SDCR0
.word RCSR_SWR
.word RCSR_HWR
.word RCSR_WDR
.word RCSR_SMR
.word cpu_resume
.word RCSR
.word sa1100_finish_suspend
.word PSPR
.word ICLR
.word ICCR
.word ICMR
.word PSSR_PH
.word GPSR
.word GPCR
.word PSSR
.size sa11x0_pm_enter, .-sa11x0_pm_enter
.comm sa1100_finish_suspend,4,4
.comm cpu_resume,4,4
.comm Ser1SDCR0,4,4
.comm SLEEP_SAVE_COUNT,4,4
.comm RCSR_WDR,4,4
.comm RCSR_SWR,4,4
.comm RCSR_SMR,4,4
.comm RCSR_HWR,4,4
.comm RCSR,4,4
.comm PSSR_PH,4,4
.comm PSSR,4,4
.comm PSPR,4,4
.comm PSDR,4,4
.comm PPSR,4,4
.comm PPDR,4,4
.comm PPAR,4,4
.comm ICMR,4,4
.comm ICLR,4,4
.comm ICCR,4,4
.comm GPSR,4,4
.comm GPLR,4,4
.comm GPDR,4,4
.comm GPCR,4,4
.comm GAFR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c___simpad_write_cs3.c"
.intel_syntax noprefix
.text
.p2align 4
.type __simpad_write_cs3, @function
__simpad_write_cs3:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR CS3_BASE[rip]
mov edi, DWORD PTR cs3_shadow[rip]
jmp writel@PLT
.cfi_endproc
.LFE0:
.size __simpad_write_cs3, .-__simpad_write_cs3
.globl cs3_shadow
.bss
.align 4
.type cs3_shadow, @object
.size cs3_shadow, 4
cs3_shadow:
.zero 4
.globl CS3_BASE
.align 4
.type CS3_BASE, @object
.size CS3_BASE, 4
CS3_BASE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c___simpad_write_cs3.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type __simpad_write_cs3, %function
__simpad_write_cs3:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L3
ldr r3, .L3+4
ldr r1, [r2]
ldr r0, [r3]
b writel
.L4:
.align 2
.L3:
.word CS3_BASE
.word cs3_shadow
.size __simpad_write_cs3, .-__simpad_write_cs3
.comm cs3_shadow,4,4
.comm CS3_BASE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c_cs3_gpio_direction_input.c"
.intel_syntax noprefix
.text
.p2align 4
.type cs3_gpio_direction_input, @function
cs3_gpio_direction_input:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
cmp esi, 15
ja .L1
mov eax, DWORD PTR EINVAL[rip]
neg eax
.L1:
ret
.cfi_endproc
.LFE0:
.size cs3_gpio_direction_input, .-cs3_gpio_direction_input
.globl EINVAL
.bss
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c_cs3_gpio_direction_input.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cs3_gpio_direction_input, %function
cs3_gpio_direction_input:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r1, #15
ldrls r3, .L5
ldrls r0, [r3]
rsbls r0, r0, #0
movhi r0, #0
bx lr
.L6:
.align 2
.L5:
.word EINVAL
.size cs3_gpio_direction_input, .-cs3_gpio_direction_input
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c_cs3_gpio_direction_output.c"
.intel_syntax noprefix
.text
.p2align 4
.type cs3_gpio_direction_output, @function
cs3_gpio_direction_output:
.LFB0:
.cfi_startproc
endbr64
cmp esi, 15
jbe .L2
mov eax, DWORD PTR EINVAL[rip]
neg eax
ret
.p2align 4,,10
.p2align 3
.L2:
sub rsp, 8
.cfi_def_cfa_offset 16
call cs3_gpio_set@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size cs3_gpio_direction_output, .-cs3_gpio_direction_output
.globl EINVAL
.bss
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c_cs3_gpio_direction_output.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cs3_gpio_direction_output, %function
cs3_gpio_direction_output:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r1, #15
bls .L2
ldr r3, .L8
ldr r0, [r3]
rsb r0, r0, #0
bx lr
.L2:
push {r4, lr}
bl cs3_gpio_set
mov r0, #0
pop {r4, pc}
.L9:
.align 2
.L8:
.word EINVAL
.size cs3_gpio_direction_output, .-cs3_gpio_direction_output
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c_cs3_gpio_get.c"
.intel_syntax noprefix
.text
.p2align 4
.type cs3_gpio_get, @function
cs3_gpio_get:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor eax, eax
mov ebx, esi
cmp esi, 15
ja .L6
call simpad_get_cs3_shadow@PLT
mov ecx, ebx
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
sar eax, cl
and eax, 1
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
call simpad_get_cs3_ro@PLT
lea ecx, -16[rbx]
pop rbx
.cfi_def_cfa_offset 8
sar eax, cl
and eax, 1
ret
.cfi_endproc
.LFE0:
.size cs3_gpio_get, .-cs3_gpio_get
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c_cs3_gpio_get.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cs3_gpio_get, %function
cs3_gpio_get:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r1, #15
push {r4, lr}
mov r4, r1
bhi .L6
bl simpad_get_cs3_shadow
asr r0, r0, r4
and r0, r0, #1
pop {r4, pc}
.L6:
bl simpad_get_cs3_ro
sub r4, r4, #16
asr r0, r0, r4
and r0, r0, #1
pop {r4, pc}
.size cs3_gpio_get, .-cs3_gpio_get
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c_cs3_gpio_set.c"
.intel_syntax noprefix
.text
.p2align 4
.type cs3_gpio_set, @function
cs3_gpio_set:
.LFB0:
.cfi_startproc
endbr64
cmp esi, 15
ja .L1
mov edi, 1
mov ecx, esi
sal edi, cl
test edx, edx
je .L3
jmp simpad_set_cs3_bit@PLT
.p2align 4,,10
.p2align 3
.L3:
jmp simpad_clear_cs3_bit@PLT
.p2align 4,,10
.p2align 3
.L1:
ret
.cfi_endproc
.LFE0:
.size cs3_gpio_set, .-cs3_gpio_set
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c_cs3_gpio_set.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cs3_gpio_set, %function
cs3_gpio_set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r1, #15
bxhi lr
mov r0, #1
cmp r2, #0
lsl r0, r0, r1
beq .L3
b simpad_set_cs3_bit
.L3:
b simpad_clear_cs3_bit
.size cs3_gpio_set, .-cs3_gpio_set
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c_simpad_clear_cs3_bit.c"
.intel_syntax noprefix
.text
.p2align 4
.globl simpad_clear_cs3_bit
.type simpad_clear_cs3_bit, @function
simpad_clear_cs3_bit:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor ebp, ebp
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rsi, rbp
mov ebx, edi
lea rdi, cs3_lock[rip]
not ebx
sub rsp, 8
.cfi_def_cfa_offset 32
call spin_lock_irqsave@PLT
and DWORD PTR cs3_shadow[rip], ebx
xor eax, eax
call __simpad_write_cs3@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rsi, rbp
lea rdi, cs3_lock[rip]
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp spin_unlock_irqrestore@PLT
.cfi_endproc
.LFE0:
.size simpad_clear_cs3_bit, .-simpad_clear_cs3_bit
.globl cs3_shadow
.bss
.align 4
.type cs3_shadow, @object
.size cs3_shadow, 4
cs3_shadow:
.zero 4
.globl cs3_lock
.align 4
.type cs3_lock, @object
.size cs3_lock, 4
cs3_lock:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c_simpad_clear_cs3_bit.c"
.text
.align 2
.global simpad_clear_cs3_bit
.syntax unified
.arm
.fpu softvfp
.type simpad_clear_cs3_bit, %function
simpad_clear_cs3_bit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, #0
mov r4, r0
ldr r5, .L4
mov r1, r6
mov r0, r5
bl spin_lock_irqsave
ldr r2, .L4+4
ldr r3, [r2]
bic r0, r3, r4
str r0, [r2]
bl __simpad_write_cs3
mov r1, r6
mov r0, r5
pop {r4, r5, r6, lr}
b spin_unlock_irqrestore
.L5:
.align 2
.L4:
.word cs3_lock
.word cs3_shadow
.size simpad_clear_cs3_bit, .-simpad_clear_cs3_bit
.comm cs3_shadow,4,4
.comm cs3_lock,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c_simpad_get_cs3_ro.c"
.intel_syntax noprefix
.text
.p2align 4
.globl simpad_get_cs3_ro
.type simpad_get_cs3_ro, @function
simpad_get_cs3_ro:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR CS3_BASE[rip]
jmp readl@PLT
.cfi_endproc
.LFE0:
.size simpad_get_cs3_ro, .-simpad_get_cs3_ro
.globl CS3_BASE
.bss
.align 4
.type CS3_BASE, @object
.size CS3_BASE, 4
CS3_BASE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c_simpad_get_cs3_ro.c"
.text
.align 2
.global simpad_get_cs3_ro
.syntax unified
.arm
.fpu softvfp
.type simpad_get_cs3_ro, %function
simpad_get_cs3_ro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
b readl
.L4:
.align 2
.L3:
.word CS3_BASE
.size simpad_get_cs3_ro, .-simpad_get_cs3_ro
.comm CS3_BASE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c_simpad_get_cs3_shadow.c"
.intel_syntax noprefix
.text
.p2align 4
.globl simpad_get_cs3_shadow
.type simpad_get_cs3_shadow, @function
simpad_get_cs3_shadow:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR cs3_shadow[rip]
ret
.cfi_endproc
.LFE0:
.size simpad_get_cs3_shadow, .-simpad_get_cs3_shadow
.globl cs3_shadow
.bss
.align 8
.type cs3_shadow, @object
.size cs3_shadow, 8
cs3_shadow:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c_simpad_get_cs3_shadow.c"
.text
.align 2
.global simpad_get_cs3_shadow
.syntax unified
.arm
.fpu softvfp
.type simpad_get_cs3_shadow, %function
simpad_get_cs3_shadow:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word cs3_shadow
.size simpad_get_cs3_shadow, .-simpad_get_cs3_shadow
.comm cs3_shadow,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c_simpad_set_cs3_bit.c"
.intel_syntax noprefix
.text
.p2align 4
.globl simpad_set_cs3_bit
.type simpad_set_cs3_bit, @function
simpad_set_cs3_bit:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor ebp, ebp
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rsi, rbp
mov ebx, edi
lea rdi, cs3_lock[rip]
sub rsp, 8
.cfi_def_cfa_offset 32
call spin_lock_irqsave@PLT
or DWORD PTR cs3_shadow[rip], ebx
xor eax, eax
call __simpad_write_cs3@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rsi, rbp
lea rdi, cs3_lock[rip]
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp spin_unlock_irqrestore@PLT
.cfi_endproc
.LFE0:
.size simpad_set_cs3_bit, .-simpad_set_cs3_bit
.globl cs3_shadow
.bss
.align 4
.type cs3_shadow, @object
.size cs3_shadow, 4
cs3_shadow:
.zero 4
.globl cs3_lock
.align 4
.type cs3_lock, @object
.size cs3_lock, 4
cs3_lock:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c_simpad_set_cs3_bit.c"
.text
.align 2
.global simpad_set_cs3_bit
.syntax unified
.arm
.fpu softvfp
.type simpad_set_cs3_bit, %function
simpad_set_cs3_bit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, #0
mov r4, r0
ldr r5, .L4
mov r1, r6
mov r0, r5
bl spin_lock_irqsave
ldr r2, .L4+4
ldr r3, [r2]
orr r0, r3, r4
str r0, [r2]
bl __simpad_write_cs3
mov r1, r6
mov r0, r5
pop {r4, r5, r6, lr}
b spin_unlock_irqrestore
.L5:
.align 2
.L4:
.word cs3_lock
.word cs3_shadow
.size simpad_set_cs3_bit, .-simpad_set_cs3_bit
.comm cs3_shadow,4,4
.comm cs3_lock,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simpad.c_simpad_uart_pm.c"
.intel_syntax noprefix
.text
.p2align 4
.type simpad_uart_pm, @function
simpad_uart_pm:
.LFB0:
.cfi_startproc
endbr64
lea rax, Ser1UTCR0[rip]
cmp rax, QWORD PTR [rdi]
je .L8
ret
.p2align 4,,10
.p2align 3
.L8:
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR RS232_ON[rip]
test rsi, rsi
je .L3
call simpad_clear_cs3_bit@PLT
mov edi, DWORD PTR DECT_POWER_ON[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp simpad_clear_cs3_bit@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
call simpad_set_cs3_bit@PLT
mov edi, DWORD PTR DECT_POWER_ON[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp simpad_set_cs3_bit@PLT
.cfi_endproc
.LFE0:
.size simpad_uart_pm, .-simpad_uart_pm
.globl Ser1UTCR0
.bss
.align 4
.type Ser1UTCR0, @object
.size Ser1UTCR0, 4
Ser1UTCR0:
.zero 4
.globl RS232_ON
.align 4
.type RS232_ON, @object
.size RS232_ON, 4
RS232_ON:
.zero 4
.globl DECT_POWER_ON
.align 4
.type DECT_POWER_ON, @object
.size DECT_POWER_ON, 4
DECT_POWER_ON:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_simpad.c_simpad_uart_pm.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type simpad_uart_pm, %function
simpad_uart_pm:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, [r0]
ldr r3, .L8
cmp r2, r3
bxne lr
ldr r3, .L8+4
cmp r1, #0
push {r4, lr}
ldr r0, [r3]
beq .L3
bl simpad_clear_cs3_bit
pop {r4, lr}
ldr r3, .L8+8
ldr r0, [r3]
b simpad_clear_cs3_bit
.L3:
bl simpad_set_cs3_bit
pop {r4, lr}
ldr r3, .L8+8
ldr r0, [r3]
b simpad_set_cs3_bit
.L9:
.align 2
.L8:
.word Ser1UTCR0
.word RS232_ON
.word DECT_POWER_ON
.size simpad_uart_pm, .-simpad_uart_pm
.comm Ser1UTCR0,4,4
.comm RS232_ON,4,4
.comm DECT_POWER_ON,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ssp.c_ssp_disable.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ssp_disable
.type ssp_disable, @function
ssp_disable:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR SSCR0_SSE[rip]
not eax
and DWORD PTR Ser4SSCR0[rip], eax
ret
.cfi_endproc
.LFE0:
.size ssp_disable, .-ssp_disable
.globl Ser4SSCR0
.bss
.align 4
.type Ser4SSCR0, @object
.size Ser4SSCR0, 4
Ser4SSCR0:
.zero 4
.globl SSCR0_SSE
.align 4
.type SSCR0_SSE, @object
.size SSCR0_SSE, 4
SSCR0_SSE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ssp.c_ssp_disable.c"
.text
.align 2
.global ssp_disable
.syntax unified
.arm
.fpu softvfp
.type ssp_disable, %function
ssp_disable:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L3
ldr r1, .L3+4
ldr r3, [r2]
ldr r1, [r1]
bic r3, r3, r1
str r3, [r2]
bx lr
.L4:
.align 2
.L3:
.word Ser4SSCR0
.word SSCR0_SSE
.size ssp_disable, .-ssp_disable
.comm Ser4SSCR0,4,4
.comm SSCR0_SSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ssp.c_ssp_enable.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ssp_enable
.type ssp_enable, @function
ssp_enable:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR SSCR0_SSE[rip]
or DWORD PTR Ser4SSCR0[rip], eax
ret
.cfi_endproc
.LFE0:
.size ssp_enable, .-ssp_enable
.globl Ser4SSCR0
.bss
.align 4
.type Ser4SSCR0, @object
.size Ser4SSCR0, 4
Ser4SSCR0:
.zero 4
.globl SSCR0_SSE
.align 4
.type SSCR0_SSE, @object
.size SSCR0_SSE, 4
SSCR0_SSE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ssp.c_ssp_enable.c"
.text
.align 2
.global ssp_enable
.syntax unified
.arm
.fpu softvfp
.type ssp_enable, %function
ssp_enable:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L3
ldr r1, .L3+4
ldr r3, [r2]
ldr r1, [r1]
orr r3, r3, r1
str r3, [r2]
bx lr
.L4:
.align 2
.L3:
.word Ser4SSCR0
.word SSCR0_SSE
.size ssp_enable, .-ssp_enable
.comm Ser4SSCR0,4,4
.comm SSCR0_SSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ssp.c_ssp_exit.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ssp_exit
.type ssp_exit, @function
ssp_exit:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov eax, DWORD PTR SSCR0_SSE[rip]
mov edi, DWORD PTR IRQ_Ser4SSP[rip]
xor esi, esi
not eax
and DWORD PTR Ser4SSCR0[rip], eax
call free_irq@PLT
mov edi, DWORD PTR Ser4SSCR0[rip]
call __PREG@PLT
mov esi, 24
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp release_mem_region@PLT
.cfi_endproc
.LFE0:
.size ssp_exit, .-ssp_exit
.globl Ser4SSCR0
.bss
.align 4
.type Ser4SSCR0, @object
.size Ser4SSCR0, 4
Ser4SSCR0:
.zero 4
.globl SSCR0_SSE
.align 4
.type SSCR0_SSE, @object
.size SSCR0_SSE, 4
SSCR0_SSE:
.zero 4
.globl IRQ_Ser4SSP
.align 4
.type IRQ_Ser4SSP, @object
.size IRQ_Ser4SSP, 4
IRQ_Ser4SSP:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ssp.c_ssp_exit.c"
.text
.align 2
.global ssp_exit
.syntax unified
.arm
.fpu softvfp
.type ssp_exit, %function
ssp_exit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r2, .L4
ldr r4, .L4+4
ldr r1, [r2]
ldr r3, [r4]
ldr r2, .L4+8
bic r3, r3, r1
ldr r0, [r2]
mov r1, #0
str r3, [r4]
bl free_irq
ldr r0, [r4]
bl __PREG
pop {r4, lr}
mov r1, #24
b release_mem_region
.L5:
.align 2
.L4:
.word SSCR0_SSE
.word Ser4SSCR0
.word IRQ_Ser4SSP
.size ssp_exit, .-ssp_exit
.comm Ser4SSCR0,4,4
.comm SSCR0_SSE,4,4
.comm IRQ_Ser4SSP,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ssp.c_ssp_flush.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ssp_flush
.type ssp_flush, @function
ssp_flush:
.LFB0:
.cfi_startproc
endbr64
mov r8d, DWORD PTR Ser4SSSR[rip]
mov eax, DWORD PTR TIMEOUT[rip]
mov edx, DWORD PTR SSSR_RNE[rip]
add eax, eax
and edx, r8d
and r8d, DWORD PTR SSSR_BSY[rip]
.p2align 4,,10
.p2align 3
.L8:
sub eax, 1
test edx, edx
jne .L4
test eax, eax
je .L5
test r8d, r8d
jne .L8
mov eax, r8d
ret
.p2align 4,,10
.p2align 3
.L4:
test eax, eax
jne .L8
.L5:
mov r8d, DWORD PTR ETIMEDOUT[rip]
neg r8d
mov eax, r8d
ret
.cfi_endproc
.LFE0:
.size ssp_flush, .-ssp_flush
.globl TIMEOUT
.bss
.align 4
.type TIMEOUT, @object
.size TIMEOUT, 4
TIMEOUT:
.zero 4
.globl Ser4SSSR
.align 4
.type Ser4SSSR, @object
.size Ser4SSSR, 4
Ser4SSSR:
.zero 4
.globl Ser4SSDR
.align 4
.type Ser4SSDR, @object
.size Ser4SSDR, 4
Ser4SSDR:
.zero 4
.globl SSSR_RNE
.align 4
.type SSSR_RNE, @object
.size SSSR_RNE, 4
SSSR_RNE:
.zero 4
.globl SSSR_BSY
.align 4
.type SSSR_BSY, @object
.size SSSR_BSY, 4
SSSR_BSY:
.zero 4
.globl ETIMEDOUT
.align 4
.type ETIMEDOUT, @object
.size ETIMEDOUT, 4
ETIMEDOUT:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ssp.c_ssp_flush.c"
.text
.align 2
.global ssp_flush
.syntax unified
.arm
.fpu softvfp
.type ssp_flush, %function
ssp_flush:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L12
ldr r0, .L12+4
ldr r2, .L12+8
ldr r1, .L12+12
ldr r0, [r0]
ldr r3, [r3]
ldr r2, [r2]
ldr r1, [r1]
and r2, r2, r0
lsl r3, r3, #1
and r0, r0, r1
.L8:
cmp r2, #0
sub r3, r3, #1
bne .L4
.L11:
cmp r3, #0
beq .L5
cmp r0, #0
bxeq lr
cmp r2, #0
sub r3, r3, #1
beq .L11
.L4:
cmp r3, #0
bne .L8
.L5:
ldr r3, .L12+16
ldr r0, [r3]
rsb r0, r0, #0
bx lr
.L13:
.align 2
.L12:
.word TIMEOUT
.word Ser4SSSR
.word SSSR_RNE
.word SSSR_BSY
.word ETIMEDOUT
.size ssp_flush, .-ssp_flush
.comm TIMEOUT,4,4
.comm Ser4SSSR,4,4
.comm Ser4SSDR,4,4
.comm SSSR_RNE,4,4
.comm SSSR_BSY,4,4
.comm ETIMEDOUT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ssp.c_ssp_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "SSP"
.text
.p2align 4
.globl ssp_init
.type ssp_init, @function
ssp_init:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR PPAR[rip]
and eax, DWORD PTR PPAR_SPR[rip]
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
jne .L2
mov eax, DWORD PTR Ser4MCCR0[rip]
and eax, DWORD PTR MCCR0_MCE[rip]
jne .L13
.L2:
mov edi, DWORD PTR Ser4SSCR0[rip]
call __PREG@PLT
lea rdx, .LC0[rip]
mov esi, 24
mov edi, eax
call request_mem_region@PLT
test eax, eax
jne .L4
mov r12d, DWORD PTR EBUSY[rip]
neg r12d
.L1:
mov eax, r12d
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
mov eax, DWORD PTR SSSR_ROR[rip]
mov esi, DWORD PTR ssp_interrupt[rip]
xor r8d, r8d
xor edx, edx
mov edi, DWORD PTR IRQ_Ser4SSP[rip]
lea rcx, .LC0[rip]
mov DWORD PTR Ser4SSSR[rip], eax
call request_irq@PLT
mov r12d, eax
test eax, eax
je .L1
mov edi, DWORD PTR Ser4SSCR0[rip]
call __PREG@PLT
mov esi, 24
mov edi, eax
call release_mem_region@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L13:
mov r12d, DWORD PTR ENODEV[rip]
neg r12d
mov eax, r12d
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ssp_init, .-ssp_init
.globl ssp_interrupt
.bss
.align 4
.type ssp_interrupt, @object
.size ssp_interrupt, 4
ssp_interrupt:
.zero 4
.globl Ser4SSSR
.align 4
.type Ser4SSSR, @object
.size Ser4SSSR, 4
Ser4SSSR:
.zero 4
.globl Ser4SSCR0
.align 4
.type Ser4SSCR0, @object
.size Ser4SSCR0, 4
Ser4SSCR0:
.zero 4
.globl Ser4MCCR0
.align 4
.type Ser4MCCR0, @object
.size Ser4MCCR0, 4
Ser4MCCR0:
.zero 4
.globl SSSR_ROR
.align 4
.type SSSR_ROR, @object
.size SSSR_ROR, 4
SSSR_ROR:
.zero 4
.globl PPAR_SPR
.align 4
.type PPAR_SPR, @object
.size PPAR_SPR, 4
PPAR_SPR:
.zero 4
.globl PPAR
.align 4
.type PPAR, @object
.size PPAR, 4
PPAR:
.zero 4
.globl MCCR0_MCE
.align 4
.type MCCR0_MCE, @object
.size MCCR0_MCE, 4
MCCR0_MCE:
.zero 4
.globl IRQ_Ser4SSP
.align 4
.type IRQ_Ser4SSP, @object
.size IRQ_Ser4SSP, 4
IRQ_Ser4SSP:
.zero 4
.globl ENODEV
.align 4
.type ENODEV, @object
.size ENODEV, 4
ENODEV:
.zero 4
.globl EBUSY
.align 4
.type EBUSY, @object
.size EBUSY, 4
EBUSY:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ssp.c_ssp_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "SSP\000"
.text
.align 2
.global ssp_init
.syntax unified
.arm
.fpu softvfp
.type ssp_init, %function
ssp_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr r2, .L14
ldr r3, .L14+4
ldr r2, [r2]
ldr r3, [r3]
sub sp, sp, #12
tst r2, r3
bne .L2
ldr r2, .L14+8
ldr r3, .L14+12
ldr r2, [r2]
ldr r3, [r3]
tst r2, r3
bne .L13
.L2:
ldr r5, .L14+16
ldr r0, [r5]
bl __PREG
mov r1, #24
ldr r2, .L14+20
bl request_mem_region
cmp r0, #0
bne .L4
ldr r3, .L14+24
ldr r4, [r3]
rsb r4, r4, #0
.L1:
mov r0, r4
add sp, sp, #12
@ sp needed
pop {r4, r5, pc}
.L4:
mov r2, #0
ldr r3, .L14+28
ldr r1, .L14+32
ldr ip, [r3]
ldr r0, .L14+36
ldr r3, .L14+40
str r2, [sp]
ldr r1, [r1]
str ip, [r3]
ldr r0, [r0]
ldr r3, .L14+20
bl request_irq
subs r4, r0, #0
beq .L1
ldr r0, [r5]
bl __PREG
mov r1, #24
bl release_mem_region
b .L1
.L13:
ldr r3, .L14+44
ldr r4, [r3]
rsb r4, r4, #0
mov r0, r4
add sp, sp, #12
@ sp needed
pop {r4, r5, pc}
.L15:
.align 2
.L14:
.word PPAR
.word PPAR_SPR
.word Ser4MCCR0
.word MCCR0_MCE
.word Ser4SSCR0
.word .LC0
.word EBUSY
.word SSSR_ROR
.word ssp_interrupt
.word IRQ_Ser4SSP
.word Ser4SSSR
.word ENODEV
.size ssp_init, .-ssp_init
.comm ssp_interrupt,4,4
.comm Ser4SSSR,4,4
.comm Ser4SSCR0,4,4
.comm Ser4MCCR0,4,4
.comm SSSR_ROR,4,4
.comm PPAR_SPR,4,4
.comm PPAR,4,4
.comm MCCR0_MCE,4,4
.comm IRQ_Ser4SSP,4,4
.comm ENODEV,4,4
.comm EBUSY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ssp.c_ssp_read_word.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ssp_read_word
.type ssp_read_word, @function
ssp_read_word:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov eax, DWORD PTR Ser4SSSR[rip]
and eax, DWORD PTR SSSR_RNE[rip]
mov ebx, DWORD PTR TIMEOUT[rip]
je .L6
jmp .L7
.p2align 4,,10
.p2align 3
.L5:
xor eax, eax
call cpu_relax@PLT
mov eax, DWORD PTR Ser4SSSR[rip]
and eax, DWORD PTR SSSR_RNE[rip]
jne .L7
.L6:
sub ebx, 1
jne .L5
mov eax, DWORD PTR ETIMEDOUT[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
neg eax
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rax, QWORD PTR Ser4SSDR[rip]
mov QWORD PTR 0[rbp], rax
add rsp, 8
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ssp_read_word, .-ssp_read_word
.globl TIMEOUT
.bss
.align 4
.type TIMEOUT, @object
.size TIMEOUT, 4
TIMEOUT:
.zero 4
.globl Ser4SSSR
.align 4
.type Ser4SSSR, @object
.size Ser4SSSR, 4
Ser4SSSR:
.zero 4
.globl Ser4SSDR
.align 8
.type Ser4SSDR, @object
.size Ser4SSDR, 8
Ser4SSDR:
.zero 8
.globl SSSR_RNE
.align 4
.type SSSR_RNE, @object
.size SSSR_RNE, 4
SSSR_RNE:
.zero 4
.globl ETIMEDOUT
.align 4
.type ETIMEDOUT, @object
.size ETIMEDOUT, 4
ETIMEDOUT:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ssp.c_ssp_read_word.c"
.text
.align 2
.global ssp_read_word
.syntax unified
.arm
.fpu softvfp
.type ssp_read_word, %function
ssp_read_word:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r5, .L15
ldr r6, .L15+4
ldr r1, [r5]
ldr r2, [r6]
ldr r3, .L15+8
tst r1, r2
mov r7, r0
ldr r4, [r3]
beq .L6
b .L7
.L5:
bl cpu_relax
ldr r2, [r5]
ldr r3, [r6]
tst r2, r3
bne .L7
.L6:
subs r4, r4, #1
bne .L5
ldr r3, .L15+12
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L7:
ldr r3, .L15+16
mov r0, #0
ldr r3, [r3]
str r3, [r7]
pop {r4, r5, r6, r7, r8, pc}
.L16:
.align 2
.L15:
.word Ser4SSSR
.word SSSR_RNE
.word TIMEOUT
.word ETIMEDOUT
.word Ser4SSDR
.size ssp_read_word, .-ssp_read_word
.comm TIMEOUT,4,4
.comm Ser4SSSR,4,4
.comm Ser4SSDR,4,4
.comm SSSR_RNE,4,4
.comm ETIMEDOUT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ssp.c_ssp_restore_state.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ssp_restore_state
.type ssp_restore_state, @function
ssp_restore_state:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR SSSR_ROR[rip]
mov edx, DWORD PTR 4[rdi]
mov DWORD PTR Ser4SSSR[rip], eax
mov eax, DWORD PTR [rdi]
mov DWORD PTR Ser4SSCR1[rip], edx
mov DWORD PTR Ser4SSCR0[rip], eax
ret
.cfi_endproc
.LFE0:
.size ssp_restore_state, .-ssp_restore_state
.globl Ser4SSSR
.bss
.align 4
.type Ser4SSSR, @object
.size Ser4SSSR, 4
Ser4SSSR:
.zero 4
.globl Ser4SSCR1
.align 4
.type Ser4SSCR1, @object
.size Ser4SSCR1, 4
Ser4SSCR1:
.zero 4
.globl Ser4SSCR0
.align 4
.type Ser4SSCR0, @object
.size Ser4SSCR0, 4
Ser4SSCR0:
.zero 4
.globl SSSR_ROR
.align 4
.type SSSR_ROR, @object
.size SSSR_ROR, 4
SSSR_ROR:
.zero 4
.globl SSCR0_SSE
.align 4
.type SSCR0_SSE, @object
.size SSCR0_SSE, 4
SSCR0_SSE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ssp.c_ssp_restore_state.c"
.text
.align 2
.global ssp_restore_state
.syntax unified
.arm
.fpu softvfp
.type ssp_restore_state, %function
ssp_restore_state:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
str lr, [sp, #-4]!
ldm r0, {ip, lr}
ldr r2, [r3]
ldr r0, .L4+4
ldr r1, .L4+8
ldr r3, .L4+12
str lr, [r0]
str ip, [r1]
str r2, [r3]
ldr pc, [sp], #4
.L5:
.align 2
.L4:
.word SSSR_ROR
.word Ser4SSCR1
.word Ser4SSCR0
.word Ser4SSSR
.size ssp_restore_state, .-ssp_restore_state
.comm Ser4SSSR,4,4
.comm Ser4SSCR1,4,4
.comm Ser4SSCR0,4,4
.comm SSSR_ROR,4,4
.comm SSCR0_SSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ssp.c_ssp_save_state.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ssp_save_state
.type ssp_save_state, @function
ssp_save_state:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR Ser4SSCR1[rip]
mov edx, DWORD PTR Ser4SSCR0[rip]
mov DWORD PTR [rdi], eax
mov eax, DWORD PTR SSCR0_SSE[rip]
mov DWORD PTR 4[rdi], edx
not eax
and eax, edx
mov DWORD PTR Ser4SSCR0[rip], eax
ret
.cfi_endproc
.LFE0:
.size ssp_save_state, .-ssp_save_state
.globl Ser4SSCR1
.bss
.align 4
.type Ser4SSCR1, @object
.size Ser4SSCR1, 4
Ser4SSCR1:
.zero 4
.globl Ser4SSCR0
.align 4
.type Ser4SSCR0, @object
.size Ser4SSCR0, 4
Ser4SSCR0:
.zero 4
.globl SSCR0_SSE
.align 4
.type SSCR0_SSE, @object
.size SSCR0_SSE, 4
SSCR0_SSE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ssp.c_ssp_save_state.c"
.text
.align 2
.global ssp_save_state
.syntax unified
.arm
.fpu softvfp
.type ssp_save_state, %function
ssp_save_state:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L3
ldr r3, .L3+4
ldr ip, .L3+8
ldr r1, [r2]
ldr r3, [r3]
ldr ip, [ip]
bic r3, r1, r3
str ip, [r0]
str r1, [r0, #4]
str r3, [r2]
bx lr
.L4:
.align 2
.L3:
.word Ser4SSCR0
.word SSCR0_SSE
.word Ser4SSCR1
.size ssp_save_state, .-ssp_save_state
.comm Ser4SSCR1,4,4
.comm Ser4SSCR0,4,4
.comm SSCR0_SSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ssp.c_ssp_write_word.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ssp_write_word
.type ssp_write_word, @function
ssp_write_word:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, edi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov eax, DWORD PTR Ser4SSSR[rip]
mov ebx, DWORD PTR TIMEOUT[rip]
mov edx, eax
and edx, DWORD PTR SSSR_TNF[rip]
je .L21
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
call cpu_relax@PLT
mov eax, DWORD PTR Ser4SSSR[rip]
mov edx, eax
and edx, DWORD PTR SSSR_TNF[rip]
jne .L24
.L21:
sub ebx, 1
jne .L3
.L22:
mov eax, DWORD PTR ETIMEDOUT[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
neg eax
ret
.p2align 4,,10
.p2align 3
.L24:
.cfi_restore_state
mov ebx, DWORD PTR TIMEOUT[rip]
.L2:
and eax, DWORD PTR SSSR_BSY[rip]
mov DWORD PTR Ser4SSDR[rip], ebp
je .L7
.L11:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
xor eax, eax
call cpu_relax@PLT
mov eax, DWORD PTR Ser4SSSR[rip]
and eax, DWORD PTR SSSR_BSY[rip]
jne .L11
.L7:
sub ebx, 1
jne .L8
jmp .L22
.cfi_endproc
.LFE0:
.size ssp_write_word, .-ssp_write_word
.globl TIMEOUT
.bss
.align 4
.type TIMEOUT, @object
.size TIMEOUT, 4
TIMEOUT:
.zero 4
.globl Ser4SSSR
.align 4
.type Ser4SSSR, @object
.size Ser4SSSR, 4
Ser4SSSR:
.zero 4
.globl Ser4SSDR
.align 4
.type Ser4SSDR, @object
.size Ser4SSDR, 4
Ser4SSDR:
.zero 4
.globl SSSR_TNF
.align 4
.type SSSR_TNF, @object
.size SSSR_TNF, 4
SSSR_TNF:
.zero 4
.globl SSSR_BSY
.align 4
.type SSSR_BSY, @object
.size SSSR_BSY, 4
SSSR_BSY:
.zero 4
.globl ETIMEDOUT
.align 4
.type ETIMEDOUT, @object
.size ETIMEDOUT, 4
ETIMEDOUT:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ssp.c_ssp_write_word.c"
.text
.align 2
.global ssp_write_word
.syntax unified
.arm
.fpu softvfp
.type ssp_write_word, %function
ssp_write_word:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r5, .L25
ldr r6, .L25+4
ldr r3, [r5]
ldr r2, [r6]
ldr r8, .L25+8
tst r3, r2
mov r7, r0
ldr r4, [r8]
beq .L21
b .L2
.L3:
bl cpu_relax
ldr r3, [r5]
ldr r2, [r6]
tst r3, r2
bne .L24
.L21:
subs r4, r4, #1
bne .L3
.L22:
ldr r3, .L25+12
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L24:
ldr r4, [r8]
.L2:
ldr r6, .L25+16
ldr r1, .L25+20
ldr r2, [r6]
str r7, [r1]
tst r3, r2
beq .L7
.L11:
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L8:
bl cpu_relax
ldr r2, [r5]
ldr r3, [r6]
tst r2, r3
bne .L11
.L7:
subs r4, r4, #1
bne .L8
b .L22
.L26:
.align 2
.L25:
.word Ser4SSSR
.word SSSR_TNF
.word TIMEOUT
.word ETIMEDOUT
.word SSSR_BSY
.word Ser4SSDR
.size ssp_write_word, .-ssp_write_word
.comm TIMEOUT,4,4
.comm Ser4SSSR,4,4
.comm Ser4SSDR,4,4
.comm SSSR_TNF,4,4
.comm SSSR_BSY,4,4
.comm ETIMEDOUT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_common.h_shmobile_smp_apmu_suspend_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type shmobile_smp_apmu_suspend_init, @function
shmobile_smp_apmu_suspend_init:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size shmobile_smp_apmu_suspend_init, .-shmobile_smp_apmu_suspend_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_common.h_shmobile_smp_apmu_suspend_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type shmobile_smp_apmu_suspend_init, %function
shmobile_smp_apmu_suspend_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size shmobile_smp_apmu_suspend_init, .-shmobile_smp_apmu_suspend_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_common.h_shmobile_suspend_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type shmobile_suspend_init, @function
shmobile_suspend_init:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size shmobile_suspend_init, .-shmobile_suspend_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_common.h_shmobile_suspend_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type shmobile_suspend_init, %function
shmobile_suspend_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #0
bx lr
.size shmobile_suspend_init, .-shmobile_suspend_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp-scu.c_shmobile_scu_cpu_prepare.c"
.intel_syntax noprefix
.text
.p2align 4
.type shmobile_scu_cpu_prepare, @function
shmobile_scu_cpu_prepare:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, edi
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR shmobile_boot_scu[rip]
mov r12d, DWORD PTR shmobile_scu_base_phys[rip]
call __pa_symbol@PLT
mov edx, r12d
mov edi, ebp
mov esi, eax
call shmobile_smp_hook@PLT
add rsp, 8
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size shmobile_scu_cpu_prepare, .-shmobile_scu_cpu_prepare
.globl shmobile_scu_base_phys
.bss
.align 4
.type shmobile_scu_base_phys, @object
.size shmobile_scu_base_phys, 4
shmobile_scu_base_phys:
.zero 4
.globl shmobile_boot_scu
.align 4
.type shmobile_boot_scu, @object
.size shmobile_boot_scu, 4
shmobile_boot_scu:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp-scu.c_shmobile_scu_cpu_prepare.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type shmobile_scu_cpu_prepare, %function
shmobile_scu_cpu_prepare:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
mov r4, r0
ldr r0, [r3]
bl __pa_symbol
ldr r3, .L4+4
mov r1, r0
ldr r2, [r3]
mov r0, r4
bl shmobile_smp_hook
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word shmobile_boot_scu
.word shmobile_scu_base_phys
.size shmobile_scu_cpu_prepare, .-shmobile_scu_cpu_prepare
.comm shmobile_scu_base_phys,4,4
.comm shmobile_boot_scu,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_shmobile_smp_hook.c"
.intel_syntax noprefix
.text
.p2align 4
.globl shmobile_smp_hook
.type shmobile_smp_hook, @function
shmobile_smp_hook:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR shmobile_smp_fn[rip]
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13, rsi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdx
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
mov ebx, edi
mov QWORD PTR [rax+rbx*8], 0
xor eax, eax
call flush_cache_all@PLT
mov rax, QWORD PTR shmobile_smp_mpidr[rip]
mov edi, ebx
lea r14, [rax+rbx*4]
call cpu_logical_map@PLT
mov DWORD PTR [r14], eax
mov rax, QWORD PTR shmobile_smp_fn[rip]
mov QWORD PTR [rax+rbx*8], r13
mov rax, QWORD PTR shmobile_smp_arg[rip]
mov QWORD PTR [rax+rbx*8], r12
xor eax, eax
pop rbx
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
jmp flush_cache_all@PLT
.cfi_endproc
.LFE0:
.size shmobile_smp_hook, .-shmobile_smp_hook
.globl shmobile_smp_mpidr
.bss
.align 8
.type shmobile_smp_mpidr, @object
.size shmobile_smp_mpidr, 8
shmobile_smp_mpidr:
.zero 8
.globl shmobile_smp_fn
.align 8
.type shmobile_smp_fn, @object
.size shmobile_smp_fn, 8
shmobile_smp_fn:
.zero 8
.globl shmobile_smp_arg
.align 8
.type shmobile_smp_arg, @object
.size shmobile_smp_arg, 8
shmobile_smp_arg:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_shmobile_smp_hook.c"
.text
.align 2
.global shmobile_smp_hook
.syntax unified
.arm
.fpu softvfp
.type shmobile_smp_hook, %function
shmobile_smp_hook:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov ip, #0
push {r4, r5, r6, r7, r8, lr}
mov r4, r0
ldr r7, .L4
mov r5, r2
ldr r3, [r7]
mov r6, r1
str ip, [r3, r0, lsl #2]
bl flush_cache_all
ldr r3, .L4+4
mov r0, r4
ldr r8, [r3]
bl cpu_logical_map
ldr r3, .L4+8
ldr r2, [r7]
ldr r3, [r3]
str r0, [r8, r4, lsl #2]
str r6, [r2, r4, lsl #2]
str r5, [r3, r4, lsl #2]
pop {r4, r5, r6, r7, r8, lr}
b flush_cache_all
.L5:
.align 2
.L4:
.word shmobile_smp_fn
.word shmobile_smp_mpidr
.word shmobile_smp_arg
.size shmobile_smp_hook, .-shmobile_smp_hook
.comm shmobile_smp_mpidr,4,4
.comm shmobile_smp_fn,4,4
.comm shmobile_smp_arg,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm-rcar-gen2.c_phys_to_sbar.c"
.intel_syntax noprefix
.text
.p2align 4
.type phys_to_sbar, @function
phys_to_sbar:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
sar eax, 8
and eax, -1024
ret
.cfi_endproc
.LFE0:
.size phys_to_sbar, .-phys_to_sbar
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm-rcar-gen2.c_phys_to_sbar.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type phys_to_sbar, %function
phys_to_sbar:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
and r0, r3, r0, asr #8
bx lr
.L4:
.align 2
.L3:
.word -1024
.size phys_to_sbar, .-phys_to_sbar
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_smp-emev2.c_emev2_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type emev2_boot_secondary, @function
emev2_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call cpu_logical_map@PLT
mov edi, eax
call cpumask_of@PLT
mov edi, eax
call arch_send_wakeup_ipi_mask@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size emev2_boot_secondary, .-emev2_boot_secondary
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_smp-emev2.c_emev2_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emev2_boot_secondary, %function
emev2_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl cpu_logical_map
bl cpumask_of
bl arch_send_wakeup_ipi_mask
mov r0, #0
pop {r4, pc}
.size emev2_boot_secondary, .-emev2_boot_secondary
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_smp-r8a7779.c_r8a7779_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type r8a7779_boot_secondary, @function
r8a7779_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov ebx, DWORD PTR EIO[rip]
call cpu_logical_map@PLT
test eax, eax
jne .L8
mov eax, ebx
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
neg eax
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov edi, eax
pop rbx
.cfi_def_cfa_offset 8
jmp rcar_sysc_power_up_cpu@PLT
.cfi_endproc
.LFE0:
.size r8a7779_boot_secondary, .-r8a7779_boot_secondary
.globl EIO
.bss
.align 4
.type EIO, @object
.size EIO, 4
EIO:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_smp-r8a7779.c_r8a7779_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type r8a7779_boot_secondary, %function
r8a7779_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L7
push {r4, lr}
ldr r4, [r3]
bl cpu_logical_map
cmp r0, #0
bne .L2
rsb r0, r4, #0
pop {r4, pc}
.L2:
pop {r4, lr}
b rcar_sysc_power_up_cpu
.L8:
.align 2
.L7:
.word EIO
.size r8a7779_boot_secondary, .-r8a7779_boot_secondary
.comm EIO,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_smp-sh73a0.c_sh73a0_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type sh73a0_boot_secondary, @function
sh73a0_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
call cpu_logical_map@PLT
mov edi, DWORD PTR PSTR[rip]
mov ebx, eax
call __raw_readl@PLT
lea ecx, 0[0+rbx*4]
mov edi, 1
sar eax, cl
mov ecx, ebx
and eax, 3
sal edi, cl
cmp eax, 3
je .L6
mov esi, DWORD PTR SRESCR[rip]
call __raw_writel@PLT
xor eax, eax
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov esi, DWORD PTR WUPCR[rip]
call __raw_writel@PLT
xor eax, eax
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size sh73a0_boot_secondary, .-sh73a0_boot_secondary
.globl WUPCR
.bss
.align 4
.type WUPCR, @object
.size WUPCR, 4
WUPCR:
.zero 4
.globl SRESCR
.align 4
.type SRESCR, @object
.size SRESCR, 4
SRESCR:
.zero 4
.globl PSTR
.align 4
.type PSTR, @object
.size PSTR, 4
PSTR:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_smp-sh73a0.c_sh73a0_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sh73a0_boot_secondary, %function
sh73a0_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl cpu_logical_map
ldr r3, .L6
mov r4, r0
ldr r0, [r3]
bl __raw_readl
lsl r3, r4, #2
asr r3, r0, r3
mov r0, #1
and r3, r3, #3
cmp r3, #3
ldreq r3, .L6+4
ldrne r3, .L6+8
lsl r0, r0, r4
ldr r1, [r3]
bl __raw_writel
mov r0, #0
pop {r4, pc}
.L7:
.align 2
.L6:
.word PSTR
.word WUPCR
.word SRESCR
.size sh73a0_boot_secondary, .-sh73a0_boot_secondary
.comm WUPCR,4,4
.comm SRESCR,4,4
.comm PSTR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_socfpga_a10_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type socfpga_a10_boot_secondary, @function
socfpga_a10_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR socfpga_cpu1start_addr[rip]
test eax, eax
jne .L8
xor eax, eax
ret
.p2align 4,,10
.p2align 3
.L8:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rbp, secondary_trampoline[rip]
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
lea rbx, secondary_trampoline_end[rip]
sub rbx, rbp
sar rbx, 2
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR RSTMGR_MPUMODRST_CPU1[rip]
mov rsi, QWORD PTR SOCFPGA_A10_RSTMGR_MODMPURST[rip]
add rsi, QWORD PTR rst_manager_base_addr[rip]
call writel@PLT
xor edi, edi
call phys_to_virt@PLT
mov edx, ebx
mov rsi, rbp
mov edi, eax
call memcpy@PLT
mov ebp, DWORD PTR socfpga_cpu1start_addr[rip]
mov edi, DWORD PTR secondary_startup[rip]
and ebp, 4095
add rbp, QWORD PTR sys_manager_base_addr[rip]
call __pa_symbol@PLT
mov rsi, rbp
mov edi, eax
call writel@PLT
xor eax, eax
call flush_cache_all@PLT
xor eax, eax
call smp_wmb@PLT
mov esi, ebx
xor edi, edi
call outer_clean_range@PLT
mov rsi, QWORD PTR SOCFPGA_A10_RSTMGR_MODMPURST[rip]
xor edi, edi
add rsi, QWORD PTR rst_manager_base_addr[rip]
call writel@PLT
add rsp, 8
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size socfpga_a10_boot_secondary, .-socfpga_a10_boot_secondary
.globl sys_manager_base_addr
.bss
.align 8
.type sys_manager_base_addr, @object
.size sys_manager_base_addr, 8
sys_manager_base_addr:
.zero 8
.globl socfpga_cpu1start_addr
.align 4
.type socfpga_cpu1start_addr, @object
.size socfpga_cpu1start_addr, 4
socfpga_cpu1start_addr:
.zero 4
.globl secondary_trampoline_end
.align 4
.type secondary_trampoline_end, @object
.size secondary_trampoline_end, 4
secondary_trampoline_end:
.zero 4
.globl secondary_trampoline
.align 4
.type secondary_trampoline, @object
.size secondary_trampoline, 4
secondary_trampoline:
.zero 4
.globl secondary_startup
.align 4
.type secondary_startup, @object
.size secondary_startup, 4
secondary_startup:
.zero 4
.globl rst_manager_base_addr
.align 8
.type rst_manager_base_addr, @object
.size rst_manager_base_addr, 8
rst_manager_base_addr:
.zero 8
.globl SOCFPGA_A10_RSTMGR_MODMPURST
.align 8
.type SOCFPGA_A10_RSTMGR_MODMPURST, @object
.size SOCFPGA_A10_RSTMGR_MODMPURST, 8
SOCFPGA_A10_RSTMGR_MODMPURST:
.zero 8
.globl RSTMGR_MPUMODRST_CPU1
.align 4
.type RSTMGR_MPUMODRST_CPU1, @object
.size RSTMGR_MPUMODRST_CPU1, 4
RSTMGR_MPUMODRST_CPU1:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_socfpga_a10_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type socfpga_a10_boot_secondary, %function
socfpga_a10_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r4, .L9
ldr r3, [r4]
cmp r3, #0
bne .L8
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L8:
ldr r7, .L9+4
ldr r6, .L9+8
ldr r3, .L9+12
ldr r2, [r6]
ldr r1, [r7]
ldr r8, .L9+16
ldr r5, .L9+20
ldr r0, [r3]
add r1, r1, r2
sub r5, r5, r8
bl writel
asr r5, r5, #2
mov r0, #0
bl phys_to_virt
mov r2, r5
mov r1, r8
bl memcpy
ldr r3, .L9+24
ldr r0, [r3]
bl __pa_symbol
ldr r2, .L9+28
ldr r3, [r4]
ldr r1, [r2]
lsl r3, r3, #20
lsr r3, r3, #20
add r1, r3, r1
bl writel
bl flush_cache_all
bl smp_wmb
mov r1, r5
mov r0, #0
bl outer_clean_range
ldr r1, [r7]
ldr r3, [r6]
mov r0, #0
add r1, r1, r3
bl writel
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L10:
.align 2
.L9:
.word socfpga_cpu1start_addr
.word rst_manager_base_addr
.word SOCFPGA_A10_RSTMGR_MODMPURST
.word RSTMGR_MPUMODRST_CPU1
.word secondary_trampoline
.word secondary_trampoline_end
.word secondary_startup
.word sys_manager_base_addr
.size socfpga_a10_boot_secondary, .-socfpga_a10_boot_secondary
.comm sys_manager_base_addr,4,4
.comm socfpga_cpu1start_addr,4,4
.comm secondary_trampoline_end,4,4
.comm secondary_trampoline,4,4
.comm secondary_startup,4,4
.comm rst_manager_base_addr,4,4
.comm SOCFPGA_A10_RSTMGR_MODMPURST,4,4
.comm RSTMGR_MPUMODRST_CPU1,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_socfpga_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type socfpga_boot_secondary, @function
socfpga_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR socfpga_cpu1start_addr[rip]
test eax, eax
jne .L8
xor eax, eax
ret
.p2align 4,,10
.p2align 3
.L8:
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rbp, secondary_trampoline[rip]
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
lea rbx, secondary_trampoline_end[rip]
sub rbx, rbp
sar rbx, 2
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR RSTMGR_MPUMODRST_CPU1[rip]
mov rsi, QWORD PTR SOCFPGA_RSTMGR_MODMPURST[rip]
add rsi, QWORD PTR rst_manager_base_addr[rip]
call writel@PLT
xor edi, edi
call phys_to_virt@PLT
mov edx, ebx
mov rsi, rbp
mov edi, eax
call memcpy@PLT
mov edi, DWORD PTR secondary_startup[rip]
movzx ebp, BYTE PTR socfpga_cpu1start_addr[rip]
add rbp, QWORD PTR sys_manager_base_addr[rip]
call __pa_symbol@PLT
mov rsi, rbp
mov edi, eax
call writel@PLT
xor eax, eax
call flush_cache_all@PLT
xor eax, eax
call smp_wmb@PLT
mov esi, ebx
xor edi, edi
call outer_clean_range@PLT
mov rsi, QWORD PTR SOCFPGA_RSTMGR_MODMPURST[rip]
xor edi, edi
add rsi, QWORD PTR rst_manager_base_addr[rip]
call writel@PLT
add rsp, 8
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size socfpga_boot_secondary, .-socfpga_boot_secondary
.globl sys_manager_base_addr
.bss
.align 8
.type sys_manager_base_addr, @object
.size sys_manager_base_addr, 8
sys_manager_base_addr:
.zero 8
.globl socfpga_cpu1start_addr
.align 4
.type socfpga_cpu1start_addr, @object
.size socfpga_cpu1start_addr, 4
socfpga_cpu1start_addr:
.zero 4
.globl secondary_trampoline_end
.align 4
.type secondary_trampoline_end, @object
.size secondary_trampoline_end, 4
secondary_trampoline_end:
.zero 4
.globl secondary_trampoline
.align 4
.type secondary_trampoline, @object
.size secondary_trampoline, 4
secondary_trampoline:
.zero 4
.globl secondary_startup
.align 4
.type secondary_startup, @object
.size secondary_startup, 4
secondary_startup:
.zero 4
.globl rst_manager_base_addr
.align 8
.type rst_manager_base_addr, @object
.size rst_manager_base_addr, 8
rst_manager_base_addr:
.zero 8
.globl SOCFPGA_RSTMGR_MODMPURST
.align 8
.type SOCFPGA_RSTMGR_MODMPURST, @object
.size SOCFPGA_RSTMGR_MODMPURST, 8
SOCFPGA_RSTMGR_MODMPURST:
.zero 8
.globl RSTMGR_MPUMODRST_CPU1
.align 4
.type RSTMGR_MPUMODRST_CPU1, @object
.size RSTMGR_MPUMODRST_CPU1, 4
RSTMGR_MPUMODRST_CPU1:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_socfpga_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type socfpga_boot_secondary, %function
socfpga_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r4, .L9
ldr r3, [r4]
cmp r3, #0
bne .L8
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L8:
ldr r7, .L9+4
ldr r6, .L9+8
ldr r3, .L9+12
ldr r2, [r6]
ldr r1, [r7]
ldr r8, .L9+16
ldr r5, .L9+20
ldr r0, [r3]
add r1, r1, r2
sub r5, r5, r8
bl writel
asr r5, r5, #2
mov r0, #0
bl phys_to_virt
mov r2, r5
mov r1, r8
bl memcpy
ldr r3, .L9+24
ldr r0, [r3]
bl __pa_symbol
ldr r3, .L9+28
ldrb r1, [r4] @ zero_extendqisi2
ldr r3, [r3]
add r1, r1, r3
bl writel
bl flush_cache_all
bl smp_wmb
mov r1, r5
mov r0, #0
bl outer_clean_range
ldr r1, [r7]
ldr r3, [r6]
mov r0, #0
add r1, r1, r3
bl writel
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L10:
.align 2
.L9:
.word socfpga_cpu1start_addr
.word rst_manager_base_addr
.word SOCFPGA_RSTMGR_MODMPURST
.word RSTMGR_MPUMODRST_CPU1
.word secondary_trampoline
.word secondary_trampoline_end
.word secondary_startup
.word sys_manager_base_addr
.size socfpga_boot_secondary, .-socfpga_boot_secondary
.comm sys_manager_base_addr,4,4
.comm socfpga_cpu1start_addr,4,4
.comm secondary_trampoline_end,4,4
.comm secondary_trampoline,4,4
.comm secondary_startup,4,4
.comm rst_manager_base_addr,4,4
.comm SOCFPGA_RSTMGR_MODMPURST,4,4
.comm RSTMGR_MPUMODRST_CPU1,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_socfpga_pm_enter.c"
.intel_syntax noprefix
.text
.p2align 4
.type socfpga_pm_enter, @function
socfpga_pm_enter:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR EINVAL[rip]
neg eax
cmp edi, 128
je .L9
ret
.p2align 4,,10
.p2align 3
.L9:
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call outer_disable@PLT
mov esi, DWORD PTR socfpga_pm_suspend[rip]
xor edi, edi
call cpu_suspend@PLT
xor eax, eax
call outer_resume@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size socfpga_pm_enter, .-socfpga_pm_enter
.globl socfpga_pm_suspend
.bss
.align 4
.type socfpga_pm_suspend, @object
.size socfpga_pm_suspend, 4
socfpga_pm_suspend:
.zero 4
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_socfpga_pm_enter.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type socfpga_pm_enter, %function
socfpga_pm_enter:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r0, #128
beq .L9
ldr r3, .L10
ldr r0, [r3]
rsb r0, r0, #0
bx lr
.L9:
push {r4, lr}
bl outer_disable
ldr r3, .L10+4
mov r0, #0
ldr r1, [r3]
bl cpu_suspend
bl outer_resume
mov r0, #0
pop {r4, pc}
.L11:
.align 2
.L10:
.word EINVAL
.word socfpga_pm_suspend
.size socfpga_pm_enter, .-socfpga_pm_enter
.comm socfpga_pm_suspend,4,4
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_hotplug.c_spear13xx_cpu_die.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "CPU%u: %u spurious wakeup calls\n"
.text
.p2align 4
.globl spear13xx_cpu_die
.type spear13xx_cpu_die, @function
spear13xx_cpu_die:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, edi
sub rsp, 16
.cfi_def_cfa_offset 32
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov DWORD PTR 4[rsp], 0
call cpu_enter_lowpower@PLT
lea rsi, 4[rsp]
mov edi, ebp
call spear13xx_do_lowpower@PLT
xor eax, eax
call cpu_leave_lowpower@PLT
mov edx, DWORD PTR 4[rsp]
test edx, edx
jne .L9
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L10
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov esi, ebp
lea rdi, .LC0[rip]
call pr_warn@PLT
jmp .L1
.L10:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size spear13xx_cpu_die, .-spear13xx_cpu_die
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_hotplug.c_spear13xx_cpu_die.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "CPU%u: %u spurious wakeup calls\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global spear13xx_cpu_die
.syntax unified
.arm
.fpu softvfp
.type spear13xx_cpu_die, %function
spear13xx_cpu_die:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r3, #0
mov r4, r0
ldr r2, .L11
sub sp, sp, #8
ldr r2, [r2]
str r2, [sp, #4]
mov r2,#0
str r3, [sp]
bl cpu_enter_lowpower
mov r1, sp
mov r0, r4
bl spear13xx_do_lowpower
bl cpu_leave_lowpower
ldr r2, [sp]
cmp r2, #0
bne .L9
.L1:
ldr r3, .L11
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L10
add sp, sp, #8
@ sp needed
pop {r4, pc}
.L9:
mov r1, r4
ldr r0, .L11+4
bl pr_warn
b .L1
.L10:
bl __stack_chk_fail
.L12:
.align 2
.L11:
.word .LC1
.word .LC0
.size spear13xx_cpu_die, .-spear13xx_cpu_die
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_hotplug.c_spear13xx_do_lowpower.c"
.intel_syntax noprefix
.text
.p2align 4
.type spear13xx_do_lowpower, @function
spear13xx_do_lowpower:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, edi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rsi
sub rsp, 8
.cfi_def_cfa_offset 32
jmp .L3
.p2align 4,,10
.p2align 3
.L6:
add DWORD PTR [rbx], 1
.L3:
xor eax, eax
call wfi@PLT
cmp DWORD PTR spear_pen_release[rip], ebp
jne .L6
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size spear13xx_do_lowpower, .-spear13xx_do_lowpower
.globl spear_pen_release
.bss
.align 4
.type spear_pen_release, @object
.size spear_pen_release, 4
spear_pen_release:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_hotplug.c_spear13xx_do_lowpower.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spear13xx_do_lowpower, %function
spear13xx_do_lowpower:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
mov r4, r1
ldr r6, .L6
.L3:
bl wfi
ldr r3, [r6]
cmp r3, r5
popeq {r4, r5, r6, pc}
ldr r3, [r4]
add r3, r3, #1
str r3, [r4]
b .L3
.L7:
.align 2
.L6:
.word spear_pen_release
.size spear13xx_do_lowpower, .-spear13xx_do_lowpower
.comm spear_pen_release,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pl080.c_pl080_get_signal.c"
.intel_syntax noprefix
.text
.p2align 4
.globl pl080_get_signal
.type pl080_get_signal, @function
pl080_get_signal:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor esi, esi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov r12d, DWORD PTR [rdi]
lea rdi, lock[rip]
mov rbx, r12
sal r12, 4
call spin_lock_irqsave@PLT
mov rdx, QWORD PTR signals[rip]
add rdx, r12
mov rax, QWORD PTR 8[rdx]
test rax, rax
jne .L7
mov edi, DWORD PTR DMA_CHN_CFG[rip]
call readl@PLT
lea ecx, [rbx+rbx]
mov edi, 3
mov esi, DWORD PTR DMA_CHN_CFG[rip]
sal edi, cl
not edi
and edi, eax
mov eax, DWORD PTR 4[rbp]
sal eax, cl
or edi, eax
call writel@PLT
mov rdx, QWORD PTR signals[rip]
mov ecx, DWORD PTR 4[rbp]
add rdx, r12
mov rax, QWORD PTR 8[rdx]
.L3:
add rax, 1
mov DWORD PTR [rdx], ecx
xor esi, esi
lea rdi, lock[rip]
mov QWORD PTR 8[rdx], rax
call spin_unlock_irqrestore@PLT
mov eax, ebx
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov ecx, DWORD PTR 4[rbp]
cmp DWORD PTR [rdx], ecx
je .L3
xor esi, esi
lea rdi, lock[rip]
call spin_unlock_irqrestore@PLT
mov eax, DWORD PTR EBUSY[rip]
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
neg eax
ret
.cfi_endproc
.LFE0:
.size pl080_get_signal, .-pl080_get_signal
.globl signals
.bss
.align 8
.type signals, @object
.size signals, 8
signals:
.zero 8
.globl lock
.align 4
.type lock, @object
.size lock, 4
lock:
.zero 4
.globl EBUSY
.align 4
.type EBUSY, @object
.size EBUSY, 4
EBUSY:
.zero 4
.globl DMA_CHN_CFG
.align 4
.type DMA_CHN_CFG, @object
.size DMA_CHN_CFG, 4
DMA_CHN_CFG:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pl080.c_pl080_get_signal.c"
.text
.align 2
.global pl080_get_signal
.syntax unified
.arm
.fpu softvfp
.type pl080_get_signal, %function
pl080_get_signal:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r0
ldr r6, .L8
mov r1, #0
ldr r0, .L8+4
ldr r4, [r5]
bl spin_lock_irqsave
ldr r1, [r6]
add r2, r1, r4, lsl #3
ldr r3, [r2, #4]
cmp r3, #0
bne .L7
ldr r8, .L8+8
lsl r7, r4, #3
ldr r0, [r8]
bl readl
mov r1, #3
lsl r3, r4, #1
ldr r2, [r5, #4]
bic r0, r0, r1, lsl r3
orr r0, r0, r2, lsl r3
ldr r1, [r8]
bl writel
ldr r2, [r6]
ldr r0, [r5, #4]
add r2, r2, r7
ldr r3, [r2, #4]
.L3:
add r3, r3, #1
stm r2, {r0, r3}
mov r1, #0
ldr r0, .L8+4
bl spin_unlock_irqrestore
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L7:
ldr r0, [r5, #4]
ldr r1, [r1, r4, lsl #3]
cmp r1, r0
beq .L3
mov r1, #0
ldr r0, .L8+4
bl spin_unlock_irqrestore
ldr r3, .L8+12
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L9:
.align 2
.L8:
.word signals
.word lock
.word DMA_CHN_CFG
.word EBUSY
.size pl080_get_signal, .-pl080_get_signal
.comm signals,4,4
.comm lock,4,4
.comm EBUSY,4,4
.comm DMA_CHN_CFG,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pl080.c_pl080_put_signal.c"
.intel_syntax noprefix
.text
.p2align 4
.globl pl080_put_signal
.type pl080_put_signal, @function
pl080_put_signal:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
lea rdi, lock[rip]
movsx rbx, esi
xor esi, esi
sal rbx, 2
call spin_lock_irqsave@PLT
mov rdx, QWORD PTR signals[rip]
add rdx, rbx
mov eax, DWORD PTR [rdx]
test eax, eax
je .L5
.L2:
sub eax, 1
xor esi, esi
lea rdi, lock[rip]
mov DWORD PTR [rdx], eax
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp spin_unlock_irqrestore@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
call BUG@PLT
add rbx, QWORD PTR signals[rip]
mov eax, DWORD PTR [rbx]
mov rdx, rbx
jmp .L2
.cfi_endproc
.LFE0:
.size pl080_put_signal, .-pl080_put_signal
.globl signals
.bss
.align 8
.type signals, @object
.size signals, 8
signals:
.zero 8
.globl lock
.align 4
.type lock, @object
.size lock, 4
lock:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pl080.c_pl080_put_signal.c"
.text
.align 2
.global pl080_put_signal
.syntax unified
.arm
.fpu softvfp
.type pl080_put_signal, %function
pl080_put_signal:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r1
ldr r5, .L6
mov r1, #0
ldr r0, .L6+4
bl spin_lock_irqsave
ldr r3, [r5]
ldr r2, [r3, r4, lsl #2]
add r3, r3, r4, lsl #2
cmp r2, #0
beq .L5
.L2:
pop {r4, r5, r6, lr}
sub r2, r2, #1
mov r1, #0
ldr r0, .L6+4
str r2, [r3]
b spin_unlock_irqrestore
.L5:
bl BUG
ldr r3, [r5]
lsl r6, r4, #2
ldr r2, [r3, r4, lsl #2]
add r3, r3, r6
b .L2
.L7:
.align 2
.L6:
.word signals
.word lock
.size pl080_put_signal, .-pl080_put_signal
.comm signals,4,4
.comm lock,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_spear13xx_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type spear13xx_boot_secondary, @function
spear13xx_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, edi
lea rdi, boot_lock[rip]
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call spin_lock@PLT
mov edi, ebp
call spear_write_pen_release@PLT
mov edi, DWORD PTR jiffies[rip]
mov ebx, DWORD PTR HZ[rip]
add ebx, edi
movsx rbx, ebx
jmp .L2
.p2align 4,,10
.p2align 3
.L6:
xor eax, eax
call smp_rmb@PLT
cmp DWORD PTR spear_pen_release[rip], -1
je .L7
mov edi, 10
call udelay@PLT
mov edi, DWORD PTR jiffies[rip]
.L2:
mov rsi, rbx
call time_before@PLT
test rax, rax
jne .L6
.L7:
lea rdi, boot_lock[rip]
call spin_unlock@PLT
mov eax, DWORD PTR ENOSYS[rip]
mov edx, 0
neg eax
cmp DWORD PTR spear_pen_release[rip], -1
cmove eax, edx
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size spear13xx_boot_secondary, .-spear13xx_boot_secondary
.globl spear_pen_release
.bss
.align 4
.type spear_pen_release, @object
.size spear_pen_release, 4
spear_pen_release:
.zero 4
.globl jiffies
.align 4
.type jiffies, @object
.size jiffies, 4
jiffies:
.zero 4
.globl boot_lock
.align 4
.type boot_lock, @object
.size boot_lock, 4
boot_lock:
.zero 4
.globl HZ
.align 4
.type HZ, @object
.size HZ, 4
HZ:
.zero 4
.globl ENOSYS
.align 4
.type ENOSYS, @object
.size ENOSYS, 4
ENOSYS:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_spear13xx_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spear13xx_boot_secondary, %function
spear13xx_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r0, .L11
bl spin_lock
mov r0, r4
bl spear_write_pen_release
ldr r6, .L11+4
ldr r3, .L11+8
ldr r0, [r6]
ldr r4, [r3]
ldr r5, .L11+12
add r4, r0, r4
b .L2
.L6:
bl smp_rmb
ldr r3, [r5]
cmn r3, #1
beq .L7
mov r0, #10
bl udelay
ldr r0, [r6]
.L2:
mov r1, r4
bl time_before
cmp r0, #0
bne .L6
.L7:
ldr r0, .L11
bl spin_unlock
ldr r3, [r5]
cmn r3, #1
beq .L10
ldr r3, .L11+16
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, r5, r6, pc}
.L10:
mov r0, #0
pop {r4, r5, r6, pc}
.L12:
.align 2
.L11:
.word boot_lock
.word jiffies
.word HZ
.word spear_pen_release
.word ENOSYS
.size spear13xx_boot_secondary, .-spear13xx_boot_secondary
.comm spear_pen_release,4,4
.comm jiffies,4,4
.comm boot_lock,4,4
.comm HZ,4,4
.comm ENOSYS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_spear13xx_secondary_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type spear13xx_secondary_init, @function
spear13xx_secondary_init:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, -1
call spear_write_pen_release@PLT
lea rdi, boot_lock[rip]
call spin_lock@PLT
lea rdi, boot_lock[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp spin_unlock@PLT
.cfi_endproc
.LFE0:
.size spear13xx_secondary_init, .-spear13xx_secondary_init
.globl boot_lock
.bss
.align 4
.type boot_lock, @object
.size boot_lock, 4
boot_lock:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_spear13xx_secondary_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spear13xx_secondary_init, %function
spear13xx_secondary_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L4
mvn r0, #0
bl spear_write_pen_release
mov r0, r4
bl spin_lock
mov r0, r4
pop {r4, lr}
b spin_unlock
.L5:
.align 2
.L4:
.word boot_lock
.size spear13xx_secondary_init, .-spear13xx_secondary_init
.comm boot_lock,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_spear_write_pen_release.c"
.intel_syntax noprefix
.text
.p2align 4
.type spear_write_pen_release, @function
spear_write_pen_release:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
mov DWORD PTR spear_pen_release[rip], edi
call smp_wmb@PLT
lea rdi, spear_pen_release[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp sync_cache_w@PLT
.cfi_endproc
.LFE0:
.size spear_write_pen_release, .-spear_write_pen_release
.globl spear_pen_release
.bss
.align 4
.type spear_pen_release, @object
.size spear_pen_release, 4
spear_pen_release:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_spear_write_pen_release.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spear_write_pen_release, %function
spear_write_pen_release:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L4
str r0, [r4]
bl smp_wmb
mov r0, r4
pop {r4, lr}
b sync_cache_w
.L5:
.align 2
.L4:
.word spear_pen_release
.size spear_write_pen_release, .-spear_write_pen_release
.comm spear_pen_release,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_time.c_clockevent_next_event.c"
.intel_syntax noprefix
.text
.p2align 4
.type clockevent_next_event, @function
clockevent_next_event:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
mov edi, DWORD PTR CLKEVT[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
call CR@PLT
add rax, QWORD PTR gpt_base[rip]
mov rdi, rax
call readw@PLT
mov ebx, eax
and eax, DWORD PTR CTRL_ENABLE[rip]
jne .L8
.L2:
mov edi, DWORD PTR CLKEVT[rip]
call LOAD@PLT
add rax, QWORD PTR gpt_base[rip]
mov edi, r12d
mov rsi, rax
call writew@PLT
mov edi, DWORD PTR CLKEVT[rip]
mov ebp, DWORD PTR CTRL_ENABLE[rip]
or ebp, DWORD PTR CTRL_INT_ENABLE[rip]
call CR@PLT
or ebp, ebx
add rax, QWORD PTR gpt_base[rip]
mov edi, ebp
mov rsi, rax
call writew@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov edi, DWORD PTR CLKEVT[rip]
call CR@PLT
mov edi, DWORD PTR CTRL_ENABLE[rip]
add rax, QWORD PTR gpt_base[rip]
mov rsi, rax
not edi
and edi, ebx
call writew@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size clockevent_next_event, .-clockevent_next_event
.globl gpt_base
.bss
.align 8
.type gpt_base, @object
.size gpt_base, 8
gpt_base:
.zero 8
.globl CTRL_INT_ENABLE
.align 4
.type CTRL_INT_ENABLE, @object
.size CTRL_INT_ENABLE, 4
CTRL_INT_ENABLE:
.zero 4
.globl CTRL_ENABLE
.align 4
.type CTRL_ENABLE, @object
.size CTRL_ENABLE, 4
CTRL_ENABLE:
.zero 4
.globl CLKEVT
.align 4
.type CLKEVT, @object
.size CLKEVT, 4
CLKEVT:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_time.c_clockevent_next_event.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type clockevent_next_event, %function
clockevent_next_event:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r7, .L9
mov r8, r0
ldr r0, [r7]
bl CR
ldr r6, .L9+4
ldr r9, .L9+8
ldr r3, [r6]
add r0, r0, r3
bl readw
ldr r3, [r9]
mov r5, r0
tst r3, r0
bne .L8
.L2:
ldr r0, [r7]
bl LOAD
mov r1, r0
ldr r3, [r6]
mov r0, r8
add r1, r1, r3
bl writew
ldr r3, .L9+12
ldr r4, [r9]
ldr r3, [r3]
ldr r0, [r7]
orr r4, r4, r3
bl CR
mov r1, r0
ldr r3, [r6]
orr r4, r4, r5
mov r0, r4
add r1, r1, r3
bl writew
mov r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
ldr r0, [r7]
bic r4, r5, r3
bl CR
mov r1, r0
ldr r3, [r6]
mov r0, r4
add r1, r1, r3
bl writew
b .L2
.L10:
.align 2
.L9:
.word CLKEVT
.word gpt_base
.word CTRL_ENABLE
.word CTRL_INT_ENABLE
.size clockevent_next_event, .-clockevent_next_event
.comm gpt_base,4,4
.comm CTRL_INT_ENABLE,4,4
.comm CTRL_ENABLE,4,4
.comm CLKEVT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_time.c_spear_timer_interrupt.c"
.intel_syntax noprefix
.text
.p2align 4
.type spear_timer_interrupt, @function
spear_timer_interrupt:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR CLKEVT[rip]
call IR@PLT
mov edi, DWORD PTR INT_STATUS[rip]
add rax, QWORD PTR gpt_base[rip]
mov rsi, rax
call writew@PLT
lea rdi, clkevt[rip]
call [QWORD PTR clkevt[rip]]
mov eax, DWORD PTR IRQ_HANDLED[rip]
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size spear_timer_interrupt, .-spear_timer_interrupt
.globl gpt_base
.bss
.align 8
.type gpt_base, @object
.size gpt_base, 8
gpt_base:
.zero 8
.globl clkevt
.align 8
.type clkevt, @object
.size clkevt, 8
clkevt:
.zero 8
.globl IRQ_HANDLED
.align 4
.type IRQ_HANDLED, @object
.size IRQ_HANDLED, 4
IRQ_HANDLED:
.zero 4
.globl INT_STATUS
.align 4
.type INT_STATUS, @object
.size INT_STATUS, 4
INT_STATUS:
.zero 4
.globl CLKEVT
.align 4
.type CLKEVT, @object
.size CLKEVT, 4
CLKEVT:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_time.c_spear_timer_interrupt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spear_timer_interrupt, %function
spear_timer_interrupt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, .L4
ldr r3, .L4+4
push {r4, lr}
ldr r0, [r2]
ldr r4, [r3]
bl IR
mov r1, r0
ldr r3, .L4+8
mov r0, r4
ldr r3, [r3]
add r1, r1, r3
bl writew
ldr r0, .L4+12
ldr r3, [r0]
blx r3
ldr r3, .L4+16
ldr r0, [r3]
pop {r4, pc}
.L5:
.align 2
.L4:
.word CLKEVT
.word INT_STATUS
.word gpt_base
.word clkevt
.word IRQ_HANDLED
.size spear_timer_interrupt, .-spear_timer_interrupt
.comm gpt_base,4,4
.comm clkevt,4,4
.comm IRQ_HANDLED,4,4
.comm INT_STATUS,4,4
.comm CLKEVT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_board-dt.c_sti_l2_write_sec.c"
.intel_syntax noprefix
.text
.p2align 4
.type sti_l2_write_sec, @function
sti_l2_write_sec:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size sti_l2_write_sec, .-sti_l2_write_sec
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_board-dt.c_sti_l2_write_sec.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sti_l2_write_sec, %function
sti_l2_write_sec:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size sti_l2_write_sec, .-sti_l2_write_sec
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_sti_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type sti_boot_secondary, @function
sti_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR secondary_startup[rip]
call __pa_symbol@PLT
mov esi, DWORD PTR cpu_strt_ptr[rip]
mov rdi, rax
call __raw_writel@PLT
xor eax, eax
call smp_wmb@PLT
mov edi, DWORD PTR cpu_strt_ptr[rip]
call sync_cache_w@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size sti_boot_secondary, .-sti_boot_secondary
.globl secondary_startup
.bss
.align 4
.type secondary_startup, @object
.size secondary_startup, 4
secondary_startup:
.zero 4
.globl cpu_strt_ptr
.align 4
.type cpu_strt_ptr, @object
.size cpu_strt_ptr, 4
cpu_strt_ptr:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_sti_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sti_boot_secondary, %function
sti_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
ldr r4, .L4+4
ldr r0, [r3]
bl __pa_symbol
ldr r1, [r4]
bl __raw_writel
bl smp_wmb
ldr r0, [r4]
bl sync_cache_w
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word secondary_startup
.word cpu_strt_ptr
.size sti_boot_secondary, .-sti_boot_secondary
.comm secondary_startup,4,4
.comm cpu_strt_ptr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mc_smp.c_sunxi_cluster_cache_disable_without_axi.c"
.intel_syntax noprefix
.text
.p2align 4
.type sunxi_cluster_cache_disable_without_axi, @function
sunxi_cluster_cache_disable_without_axi:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call read_cpuid_part@PLT
cmp rax, QWORD PTR ARM_CPU_PART_CORTEX_A15[rip]
jne .L2
mov eax, 1024
#APP
# 29 "AnghaBench/linux/arch/arm/mach-sunxi/extr_mc_smp.c_sunxi_cluster_cache_disable_without_axi.c" 1
mcr p15, 1, eax, c15, c0, 3
isb
dsb
# 0 "" 2
#NO_APP
.L2:
mov edi, DWORD PTR all[rip]
call v7_exit_coherency_flush@PLT
xor eax, eax
call read_cpuid_mpidr@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp cci_disable_port_by_cpu@PLT
.cfi_endproc
.LFE0:
.size sunxi_cluster_cache_disable_without_axi, .-sunxi_cluster_cache_disable_without_axi
.globl all
.bss
.align 4
.type all, @object
.size all, 4
all:
.zero 4
.globl ARM_CPU_PART_CORTEX_A15
.align 8
.type ARM_CPU_PART_CORTEX_A15, @object
.size ARM_CPU_PART_CORTEX_A15, 8
ARM_CPU_PART_CORTEX_A15:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mc_smp.c_sunxi_cluster_cache_disable_without_axi.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sunxi_cluster_cache_disable_without_axi, %function
sunxi_cluster_cache_disable_without_axi:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_cpuid_part
ldr r3, .L5
ldr r3, [r3]
cmp r0, r3
bne .L2
mov r3, #1024
.syntax divided
@ 29 "AnghaBench/linux/arch/arm/mach-sunxi/extr_mc_smp.c_sunxi_cluster_cache_disable_without_axi.c" 1
mcr p15, 1, r3, c15, c0, 3
isb
dsb
@ 0 "" 2
.arm
.syntax unified
.L2:
ldr r3, .L5+4
ldr r0, [r3]
bl v7_exit_coherency_flush
bl read_cpuid_mpidr
pop {r4, lr}
b cci_disable_port_by_cpu
.L6:
.align 2
.L5:
.word ARM_CPU_PART_CORTEX_A15
.word all
.size sunxi_cluster_cache_disable_without_axi, .-sunxi_cluster_cache_disable_without_axi
.comm all,4,4
.comm ARM_CPU_PART_CORTEX_A15,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mc_smp.c_sunxi_cpu0_hotplug_support_set.c"
.intel_syntax noprefix
.text
.p2align 4
.type sunxi_cpu0_hotplug_support_set, @function
sunxi_cpu0_hotplug_support_set:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov rsi, QWORD PTR sram_b_smp_base[rip]
test edi, edi
je .L2
mov edi, DWORD PTR CPU0_SUPPORT_HOTPLUG_MAGIC0[rip]
call writel@PLT
mov rax, QWORD PTR sram_b_smp_base[rip]
mov edi, DWORD PTR CPU0_SUPPORT_HOTPLUG_MAGIC1[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
lea rsi, 4[rax]
jmp writel@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
xor edi, edi
call writel@PLT
mov rax, QWORD PTR sram_b_smp_base[rip]
xor edi, edi
add rsp, 8
.cfi_def_cfa_offset 8
lea rsi, 4[rax]
jmp writel@PLT
.cfi_endproc
.LFE0:
.size sunxi_cpu0_hotplug_support_set, .-sunxi_cpu0_hotplug_support_set
.globl sram_b_smp_base
.bss
.align 8
.type sram_b_smp_base, @object
.size sram_b_smp_base, 8
sram_b_smp_base:
.zero 8
.globl CPU0_SUPPORT_HOTPLUG_MAGIC1
.align 4
.type CPU0_SUPPORT_HOTPLUG_MAGIC1, @object
.size CPU0_SUPPORT_HOTPLUG_MAGIC1, 4
CPU0_SUPPORT_HOTPLUG_MAGIC1:
.zero 4
.globl CPU0_SUPPORT_HOTPLUG_MAGIC0
.align 4
.type CPU0_SUPPORT_HOTPLUG_MAGIC0, @object
.size CPU0_SUPPORT_HOTPLUG_MAGIC0, 4
CPU0_SUPPORT_HOTPLUG_MAGIC0:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mc_smp.c_sunxi_cpu0_hotplug_support_set.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sunxi_cpu0_hotplug_support_set, %function
sunxi_cpu0_hotplug_support_set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L5
subs r4, r0, #0
ldr r1, [r5]
beq .L2
ldr r3, .L5+4
ldr r0, [r3]
bl writel
ldr r1, [r5]
ldr r3, .L5+8
add r1, r1, #4
ldr r0, [r3]
pop {r4, r5, r6, lr}
b writel
.L2:
bl writel
ldr r1, [r5]
mov r0, r4
pop {r4, r5, r6, lr}
add r1, r1, #4
b writel
.L6:
.align 2
.L5:
.word sram_b_smp_base
.word CPU0_SUPPORT_HOTPLUG_MAGIC0
.word CPU0_SUPPORT_HOTPLUG_MAGIC1
.size sunxi_cpu0_hotplug_support_set, .-sunxi_cpu0_hotplug_support_set
.comm sram_b_smp_base,4,4
.comm CPU0_SUPPORT_HOTPLUG_MAGIC1,4,4
.comm CPU0_SUPPORT_HOTPLUG_MAGIC0,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mc_smp.c_sunxi_cpu_power_switch_set.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "power clamp for cluster %u cpu %u already open\n"
.text
.p2align 4
.type sunxi_cpu_power_switch_set, @function
sunxi_cpu_power_switch_set:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, esi
mov esi, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov edi, ebp
mov ebx, edx
call PRCM_PWR_SWITCH_REG@PLT
add rax, QWORD PTR prcm_base[rip]
mov rdi, rax
call readl@PLT
test ebx, ebx
je .L2
test eax, eax
je .L7
mov esi, r12d
mov edi, ebp
call PRCM_PWR_SWITCH_REG@PLT
add rax, QWORD PTR prcm_base[rip]
mov edi, 255
mov rsi, rax
call writel@PLT
mov edi, 10
call udelay@PLT
mov esi, r12d
mov edi, ebp
call PRCM_PWR_SWITCH_REG@PLT
add rax, QWORD PTR prcm_base[rip]
mov edi, 254
mov rsi, rax
call writel@PLT
mov edi, 10
call udelay@PLT
mov esi, r12d
mov edi, ebp
call PRCM_PWR_SWITCH_REG@PLT
add rax, QWORD PTR prcm_base[rip]
mov edi, 248
mov rsi, rax
call writel@PLT
mov edi, 10
call udelay@PLT
mov esi, r12d
mov edi, ebp
call PRCM_PWR_SWITCH_REG@PLT
add rax, QWORD PTR prcm_base[rip]
mov edi, 240
mov rsi, rax
call writel@PLT
mov edi, 10
call udelay@PLT
mov esi, r12d
mov edi, ebp
call PRCM_PWR_SWITCH_REG@PLT
add rax, QWORD PTR prcm_base[rip]
xor edi, edi
mov rsi, rax
call writel@PLT
mov edi, 10
call udelay@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov edx, r12d
mov esi, ebp
lea rdi, .LC0[rip]
call pr_debug@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov esi, r12d
mov edi, ebp
call PRCM_PWR_SWITCH_REG@PLT
add rax, QWORD PTR prcm_base[rip]
mov edi, 255
mov rsi, rax
call writel@PLT
mov edi, 10
call udelay@PLT
pop rbx
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size sunxi_cpu_power_switch_set, .-sunxi_cpu_power_switch_set
.globl prcm_base
.bss
.align 8
.type prcm_base, @object
.size prcm_base, 8
prcm_base:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mc_smp.c_sunxi_cpu_power_switch_set.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "power clamp for cluster %u cpu %u already open\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sunxi_cpu_power_switch_set, %function
sunxi_cpu_power_switch_set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r1
mov r5, r0
mov r1, r0
mov r0, r4
mov r7, r2
bl PRCM_PWR_SWITCH_REG
ldr r6, .L8
ldr r3, [r6]
add r0, r0, r3
bl readl
cmp r7, #0
beq .L2
cmp r0, #0
beq .L7
mov r1, r5
mov r0, r4
bl PRCM_PWR_SWITCH_REG
mov r1, r0
ldr r3, [r6]
mov r0, #255
add r1, r1, r3
bl writel
mov r0, #10
bl udelay
mov r1, r5
mov r0, r4
bl PRCM_PWR_SWITCH_REG
mov r1, r0
ldr r3, [r6]
mov r0, #254
add r1, r1, r3
bl writel
mov r0, #10
bl udelay
mov r1, r5
mov r0, r4
bl PRCM_PWR_SWITCH_REG
mov r1, r0
ldr r3, [r6]
mov r0, #248
add r1, r1, r3
bl writel
mov r0, #10
bl udelay
mov r1, r5
mov r0, r4
bl PRCM_PWR_SWITCH_REG
mov r1, r0
ldr r3, [r6]
mov r0, #240
add r1, r1, r3
bl writel
mov r0, #10
bl udelay
mov r1, r5
mov r0, r4
bl PRCM_PWR_SWITCH_REG
mov r1, r0
ldr r3, [r6]
mov r0, #0
add r1, r1, r3
bl writel
mov r0, #10
bl udelay
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L7:
mov r2, r5
mov r1, r4
ldr r0, .L8+4
bl pr_debug
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L2:
mov r1, r5
mov r0, r4
bl PRCM_PWR_SWITCH_REG
mov r1, r0
ldr r3, [r6]
mov r0, #255
add r1, r1, r3
bl writel
mov r0, #10
bl udelay
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L9:
.align 2
.L8:
.word prcm_base
.word .LC0
.size sunxi_cpu_power_switch_set, .-sunxi_cpu_power_switch_set
.comm prcm_base,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mc_smp.c_sunxi_mc_smp_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type sunxi_mc_smp_boot_secondary, @function
sunxi_mc_smp_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 8
.cfi_def_cfa_offset 48
call cpu_logical_map@PLT
xor esi, esi
mov ebp, eax
mov edi, eax
call MPIDR_AFFINITY_LEVEL@PLT
mov esi, 1
mov edi, ebp
mov r12d, eax
call MPIDR_AFFINITY_LEVEL@PLT
mov edx, DWORD PTR cpucfg_base[rip]
test edx, edx
je .L11
cmp DWORD PTR SUNXI_NR_CLUSTERS[rip], eax
mov ebp, eax
jbe .L4
cmp DWORD PTR SUNXI_CPUS_PER_CLUSTER[rip], r12d
jbe .L4
lea rdi, boot_lock[rip]
mov r13d, ebp
mov ebx, r12d
call spin_lock_irq@PLT
mov rax, QWORD PTR sunxi_mc_smp_cpu_table[rip]
sal rbx, 3
mov rdx, QWORD PTR [rax+r13*8]
add rdx, rbx
mov rax, QWORD PTR [rdx]
test rax, rax
je .L12
.L6:
add rax, 1
lea rdi, boot_lock[rip]
mov QWORD PTR [rdx], rax
call spin_unlock_irq@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
xor eax, eax
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
mov eax, DWORD PTR EINVAL[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
neg eax
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
mov eax, DWORD PTR ENODEV[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
neg eax
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
mov edi, ebp
call sunxi_mc_smp_cluster_is_down@PLT
test rax, rax
jne .L13
mov DWORD PTR sunxi_mc_smp_first_comer[rip], 0
.L8:
lea rdi, sunxi_mc_smp_first_comer[rip]
call sync_cache_w@PLT
mov esi, ebp
mov edi, r12d
call sunxi_cpu_powerup@PLT
mov rax, QWORD PTR sunxi_mc_smp_cpu_table[rip]
add rbx, QWORD PTR [rax+r13*8]
mov rax, QWORD PTR [rbx]
mov rdx, rbx
jmp .L6
.p2align 4,,10
.p2align 3
.L13:
mov DWORD PTR sunxi_mc_smp_first_comer[rip], 1
mov edi, ebp
call sunxi_cluster_powerup@PLT
jmp .L8
.cfi_endproc
.LFE0:
.size sunxi_mc_smp_boot_secondary, .-sunxi_mc_smp_boot_secondary
.globl sunxi_mc_smp_first_comer
.bss
.align 4
.type sunxi_mc_smp_first_comer, @object
.size sunxi_mc_smp_first_comer, 4
sunxi_mc_smp_first_comer:
.zero 4
.globl sunxi_mc_smp_cpu_table
.align 8
.type sunxi_mc_smp_cpu_table, @object
.size sunxi_mc_smp_cpu_table, 8
sunxi_mc_smp_cpu_table:
.zero 8
.globl cpucfg_base
.align 4
.type cpucfg_base, @object
.size cpucfg_base, 4
cpucfg_base:
.zero 4
.globl boot_lock
.align 4
.type boot_lock, @object
.size boot_lock, 4
boot_lock:
.zero 4
.globl SUNXI_NR_CLUSTERS
.align 4
.type SUNXI_NR_CLUSTERS, @object
.size SUNXI_NR_CLUSTERS, 4
SUNXI_NR_CLUSTERS:
.zero 4
.globl SUNXI_CPUS_PER_CLUSTER
.align 4
.type SUNXI_CPUS_PER_CLUSTER, @object
.size SUNXI_CPUS_PER_CLUSTER, 4
SUNXI_CPUS_PER_CLUSTER:
.zero 4
.globl ENODEV
.align 4
.type ENODEV, @object
.size ENODEV, 4
ENODEV:
.zero 4
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mc_smp.c_sunxi_mc_smp_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sunxi_mc_smp_boot_secondary, %function
sunxi_mc_smp_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl cpu_logical_map
mov r1, #0
mov r5, r0
bl MPIDR_AFFINITY_LEVEL
mov r1, #1
mov r4, r0
mov r0, r5
bl MPIDR_AFFINITY_LEVEL
ldr r3, .L14
ldr r3, [r3]
cmp r3, #0
beq .L11
ldr r3, .L14+4
mov r5, r0
ldr r3, [r3]
cmp r3, r0
bls .L4
ldr r3, .L14+8
ldr r3, [r3]
cmp r3, r4
bls .L4
ldr r6, .L14+12
ldr r0, .L14+16
bl spin_lock_irq
ldr r3, [r6]
lsl r7, r4, #2
ldr r3, [r3, r5, lsl #2]
ldr r2, [r3, r4, lsl #2]
add r3, r3, r4, lsl #2
cmp r2, #0
beq .L12
.L6:
add r2, r2, #1
str r2, [r3]
ldr r0, .L14+16
bl spin_unlock_irq
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L4:
ldr r3, .L14+20
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L11:
ldr r3, .L14+24
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L12:
mov r0, r5
bl sunxi_mc_smp_cluster_is_down
cmp r0, #0
bne .L13
ldr r3, .L14+28
str r0, [r3]
.L8:
ldr r0, .L14+28
bl sync_cache_w
mov r1, r5
mov r0, r4
bl sunxi_cpu_powerup
ldr r3, [r6]
ldr r3, [r3, r5, lsl #2]
ldr r2, [r3, r4, lsl #2]
add r3, r3, r7
b .L6
.L13:
mov r2, #1
ldr r3, .L14+28
mov r0, r5
str r2, [r3]
bl sunxi_cluster_powerup
b .L8
.L15:
.align 2
.L14:
.word cpucfg_base
.word SUNXI_NR_CLUSTERS
.word SUNXI_CPUS_PER_CLUSTER
.word sunxi_mc_smp_cpu_table
.word boot_lock
.word EINVAL
.word ENODEV
.word sunxi_mc_smp_first_comer
.size sunxi_mc_smp_boot_secondary, .-sunxi_mc_smp_boot_secondary
.comm sunxi_mc_smp_first_comer,4,4
.comm sunxi_mc_smp_cpu_table,4,4
.comm cpucfg_base,4,4
.comm boot_lock,4,4
.comm SUNXI_NR_CLUSTERS,4,4
.comm SUNXI_CPUS_PER_CLUSTER,4,4
.comm ENODEV,4,4
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mc_smp.c_sunxi_mc_smp_cluster_is_down.c"
.intel_syntax noprefix
.text
.p2align 4
.type sunxi_mc_smp_cluster_is_down, @function
sunxi_mc_smp_cluster_is_down:
.LFB0:
.cfi_startproc
endbr64
mov edx, DWORD PTR SUNXI_CPUS_PER_CLUSTER[rip]
test edx, edx
jle .L4
mov rax, QWORD PTR sunxi_mc_smp_cpu_table[rip]
mov edi, edi
mov rax, QWORD PTR [rax+rdi*8]
lea rdx, [rax+rdx*8]
jmp .L3
.p2align 4,,10
.p2align 3
.L8:
add rax, 8
cmp rax, rdx
je .L4
.L3:
cmp QWORD PTR [rax], 0
je .L8
xor eax, eax
ret
.p2align 4,,10
.p2align 3
.L4:
mov eax, 1
ret
.cfi_endproc
.LFE0:
.size sunxi_mc_smp_cluster_is_down, .-sunxi_mc_smp_cluster_is_down
.globl sunxi_mc_smp_cpu_table
.bss
.align 8
.type sunxi_mc_smp_cpu_table, @object
.size sunxi_mc_smp_cpu_table, 8
sunxi_mc_smp_cpu_table:
.zero 8
.globl SUNXI_CPUS_PER_CLUSTER
.align 4
.type SUNXI_CPUS_PER_CLUSTER, @object
.size SUNXI_CPUS_PER_CLUSTER, 4
SUNXI_CPUS_PER_CLUSTER:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mc_smp.c_sunxi_mc_smp_cluster_is_down.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sunxi_mc_smp_cluster_is_down, %function
sunxi_mc_smp_cluster_is_down:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L9
ldr ip, [r3]
cmp ip, #0
ble .L4
ldr r2, .L9+4
mov r3, #0
ldr r2, [r2]
ldr r2, [r2, r0, lsl #2]
sub r2, r2, #4
b .L3
.L8:
cmp r3, ip
beq .L4
.L3:
ldr r1, [r2, #4]!
add r3, r3, #1
cmp r1, #0
beq .L8
mov r0, #0
bx lr
.L4:
mov r0, #1
bx lr
.L10:
.align 2
.L9:
.word SUNXI_CPUS_PER_CLUSTER
.word sunxi_mc_smp_cpu_table
.size sunxi_mc_smp_cluster_is_down, .-sunxi_mc_smp_cluster_is_down
.comm sunxi_mc_smp_cpu_table,4,4
.comm SUNXI_CPUS_PER_CLUSTER,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mc_smp.c_sunxi_mc_smp_secondary_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type sunxi_mc_smp_secondary_init, @function
sunxi_mc_smp_secondary_init:
.LFB0:
.cfi_startproc
endbr64
test edi, edi
je .L4
ret
.p2align 4,,10
.p2align 3
.L4:
jmp sunxi_cpu0_hotplug_support_set@PLT
.cfi_endproc
.LFE0:
.size sunxi_mc_smp_secondary_init, .-sunxi_mc_smp_secondary_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mc_smp.c_sunxi_mc_smp_secondary_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sunxi_mc_smp_secondary_init, %function
sunxi_mc_smp_secondary_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #0
bxne lr
b sunxi_cpu0_hotplug_support_set
.size sunxi_mc_smp_secondary_init, .-sunxi_mc_smp_secondary_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_tango_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type tango_boot_secondary, @function
tango_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, edi
mov edi, DWORD PTR secondary_startup[rip]
call __pa_symbol@PLT
mov edi, eax
call tango_set_aux_boot_addr@PLT
mov edi, ebp
call tango_start_aux_core@PLT
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size tango_boot_secondary, .-tango_boot_secondary
.globl secondary_startup
.bss
.align 4
.type secondary_startup, @object
.size secondary_startup, 4
secondary_startup:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_tango_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tango_boot_secondary, %function
tango_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r3, .L4
ldr r0, [r3]
bl __pa_symbol
bl tango_set_aux_boot_addr
mov r0, r4
bl tango_start_aux_core
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word secondary_startup
.size tango_boot_secondary, .-tango_boot_secondary
.comm secondary_startup,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_tango_pm_enter.c"
.intel_syntax noprefix
.text
.p2align 4
.type tango_pm_enter, @function
tango_pm_enter:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR PM_SUSPEND_MEM[rip], rdi
je .L4
mov eax, DWORD PTR EINVAL[rip]
neg eax
ret
.p2align 4,,10
.p2align 3
.L4:
mov esi, DWORD PTR tango_pm_powerdown[rip]
xor edi, edi
jmp cpu_suspend@PLT
.cfi_endproc
.LFE0:
.size tango_pm_enter, .-tango_pm_enter
.globl tango_pm_powerdown
.bss
.align 4
.type tango_pm_powerdown, @object
.size tango_pm_powerdown, 4
tango_pm_powerdown:
.zero 4
.globl PM_SUSPEND_MEM
.align 8
.type PM_SUSPEND_MEM, @object
.size PM_SUSPEND_MEM, 8
PM_SUSPEND_MEM:
.zero 8
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_tango_pm_enter.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tango_pm_enter, %function
tango_pm_enter:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L5
ldr r3, [r3]
cmp r3, r0
beq .L4
ldr r3, .L5+4
ldr r0, [r3]
rsb r0, r0, #0
bx lr
.L4:
ldr r3, .L5+8
mov r0, #0
ldr r1, [r3]
b cpu_suspend
.L6:
.align 2
.L5:
.word PM_SUSPEND_MEM
.word EINVAL
.word tango_pm_powerdown
.size tango_pm_enter, .-tango_pm_enter
.comm tango_pm_powerdown,4,4
.comm PM_SUSPEND_MEM,4,4
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_tango_pm_powerdown.c"
.intel_syntax noprefix
.text
.p2align 4
.type tango_pm_powerdown, @function
tango_pm_powerdown:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR cpu_resume[rip]
call __pa_symbol@PLT
mov edi, eax
call tango_suspend@PLT
mov eax, DWORD PTR EIO[rip]
add rsp, 8
.cfi_def_cfa_offset 8
neg eax
ret
.cfi_endproc
.LFE0:
.size tango_pm_powerdown, .-tango_pm_powerdown
.globl cpu_resume
.bss
.align 4
.type cpu_resume, @object
.size cpu_resume, 4
cpu_resume:
.zero 4
.globl EIO
.align 4
.type EIO, @object
.size EIO, 4
EIO:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_tango_pm_powerdown.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tango_pm_powerdown, %function
tango_pm_powerdown:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
ldr r0, [r3]
bl __pa_symbol
bl tango_suspend
ldr r3, .L4+4
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word cpu_resume
.word EIO
.size tango_pm_powerdown, .-tango_pm_powerdown
.comm cpu_resume,4,4
.comm EIO,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_setup.c_tango_l2c_write.c"
.intel_syntax noprefix
.text
.p2align 4
.type tango_l2c_write, @function
tango_l2c_write:
.LFB0:
.cfi_startproc
endbr64
cmp DWORD PTR L2X0_CTRL[rip], esi
je .L4
ret
.p2align 4,,10
.p2align 3
.L4:
jmp tango_set_l2_control@PLT
.cfi_endproc
.LFE0:
.size tango_l2c_write, .-tango_l2c_write
.globl L2X0_CTRL
.bss
.align 4
.type L2X0_CTRL, @object
.size L2X0_CTRL, 4
L2X0_CTRL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_setup.c_tango_l2c_write.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tango_l2c_write, %function
tango_l2c_write:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L4
ldr r3, [r3]
cmp r3, r1
bxne lr
b tango_set_l2_control
.L5:
.align 2
.L4:
.word L2X0_CTRL
.size tango_l2c_write, .-tango_l2c_write
.comm L2X0_CTRL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpuidle-tegra20.c_tegra20_cpuidle_pcie_irqs_in_use.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "Disabling cpuidle LP2 state, since PCIe IRQs are in use\n"
.text
.p2align 4
.globl tegra20_cpuidle_pcie_irqs_in_use
.type tegra20_cpuidle_pcie_irqs_in_use, @function
tegra20_cpuidle_pcie_irqs_in_use:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call pr_info_once@PLT
mov rax, QWORD PTR tegra_idle_driver[rip]
mov DWORD PTR 4[rax], 1
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size tegra20_cpuidle_pcie_irqs_in_use, .-tegra20_cpuidle_pcie_irqs_in_use
.globl tegra_idle_driver
.bss
.align 8
.type tegra_idle_driver, @object
.size tegra_idle_driver, 8
tegra_idle_driver:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_cpuidle-tegra20.c_tegra20_cpuidle_pcie_irqs_in_use.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Disabling cpuidle LP2 state, since PCIe IRQs are in"
.ascii " use\012\000"
.text
.align 2
.global tegra20_cpuidle_pcie_irqs_in_use
.syntax unified
.arm
.fpu softvfp
.type tegra20_cpuidle_pcie_irqs_in_use, %function
tegra20_cpuidle_pcie_irqs_in_use:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl pr_info_once
mov r2, #1
ldr r3, .L4+4
ldr r3, [r3]
str r2, [r3, #4]
pop {r4, pc}
.L5:
.align 2
.L4:
.word .LC0
.word tegra_idle_driver
.size tegra20_cpuidle_pcie_irqs_in_use, .-tegra20_cpuidle_pcie_irqs_in_use
.comm tegra_idle_driver,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpuidle.h_tegra_cpuidle_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type tegra_cpuidle_init, @function
tegra_cpuidle_init:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size tegra_cpuidle_init, .-tegra_cpuidle_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_cpuidle.h_tegra_cpuidle_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tegra_cpuidle_init, %function
tegra_cpuidle_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size tegra_cpuidle_init, .-tegra_cpuidle_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpuidle.h_tegra_cpuidle_pcie_irqs_in_use.c"
.intel_syntax noprefix
.text
.p2align 4
.type tegra_cpuidle_pcie_irqs_in_use, @function
tegra_cpuidle_pcie_irqs_in_use:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size tegra_cpuidle_pcie_irqs_in_use, .-tegra_cpuidle_pcie_irqs_in_use
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_cpuidle.h_tegra_cpuidle_pcie_irqs_in_use.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tegra_cpuidle_pcie_irqs_in_use, %function
tegra_cpuidle_pcie_irqs_in_use:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size tegra_cpuidle_pcie_irqs_in_use, .-tegra_cpuidle_pcie_irqs_in_use
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_hotplug.c_tegra_cpu_die.c"
.intel_syntax noprefix
.text
.p2align 4
.globl tegra_cpu_die
.type tegra_cpu_die, @function
tegra_cpu_die:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR TEGRA_FLUSH_CACHE_LOUIS[rip]
call tegra_disable_clean_inv_dcache@PLT
xor eax, eax
call tegra_hotplug_shutdown@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp BUG@PLT
.cfi_endproc
.LFE0:
.size tegra_cpu_die, .-tegra_cpu_die
.globl TEGRA_FLUSH_CACHE_LOUIS
.bss
.align 4
.type TEGRA_FLUSH_CACHE_LOUIS, @object
.size TEGRA_FLUSH_CACHE_LOUIS, 4
TEGRA_FLUSH_CACHE_LOUIS:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_hotplug.c_tegra_cpu_die.c"
.text
.align 2
.global tegra_cpu_die
.syntax unified
.arm
.fpu softvfp
.type tegra_cpu_die, %function
tegra_cpu_die:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L4
ldr r0, [r3]
bl tegra_disable_clean_inv_dcache
bl tegra_hotplug_shutdown
pop {r4, lr}
b BUG
.L5:
.align 2
.L4:
.word TEGRA_FLUSH_CACHE_LOUIS
.size tegra_cpu_die, .-tegra_cpu_die
.comm TEGRA_FLUSH_CACHE_LOUIS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_hotplug.c_tegra_cpu_kill.c"
.intel_syntax noprefix
.text
.p2align 4
.globl tegra_cpu_kill
.type tegra_cpu_kill, @function
tegra_cpu_kill:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
call cpu_logical_map@PLT
mov ebp, eax
mov edi, eax
call tegra_wait_cpu_in_reset@PLT
mov edi, ebp
call tegra_disable_cpu_clock@PLT
mov eax, 1
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size tegra_cpu_kill, .-tegra_cpu_kill
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_hotplug.c_tegra_cpu_kill.c"
.text
.align 2
.global tegra_cpu_kill
.syntax unified
.arm
.fpu softvfp
.type tegra_cpu_kill, %function
tegra_cpu_kill:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl cpu_logical_map
mov r4, r0
bl tegra_wait_cpu_in_reset
mov r0, r4
bl tegra_disable_cpu_clock
mov r0, #1
pop {r4, pc}
.size tegra_cpu_kill, .-tegra_cpu_kill
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_tegra114_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type tegra114_boot_secondary, @function
tegra114_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
call cpu_logical_map@PLT
lea rsi, tegra_cpu_init_mask[rip]
mov edi, eax
mov ebp, eax
call cpumask_test_cpu@PLT
test rax, rax
jne .L5
mov edi, ebp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp tegra_pmc_cpu_power_on@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edi, ebp
mov esi, 1
call flowctrl_write_cpu_csr@PLT
mov esi, DWORD PTR FLOW_CTRL_WAITEVENT[rip]
mov edi, ebp
or esi, DWORD PTR FLOW_CTRL_SCLK_RESUME[rip]
call flowctrl_write_cpu_halt@PLT
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size tegra114_boot_secondary, .-tegra114_boot_secondary
.globl tegra_cpu_init_mask
.bss
.align 4
.type tegra_cpu_init_mask, @object
.size tegra_cpu_init_mask, 4
tegra_cpu_init_mask:
.zero 4
.globl FLOW_CTRL_WAITEVENT
.align 4
.type FLOW_CTRL_WAITEVENT, @object
.size FLOW_CTRL_WAITEVENT, 4
FLOW_CTRL_WAITEVENT:
.zero 4
.globl FLOW_CTRL_SCLK_RESUME
.align 4
.type FLOW_CTRL_SCLK_RESUME, @object
.size FLOW_CTRL_SCLK_RESUME, 4
FLOW_CTRL_SCLK_RESUME:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_tegra114_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tegra114_boot_secondary, %function
tegra114_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl cpu_logical_map
ldr r1, .L8
mov r4, r0
bl cpumask_test_cpu
cmp r0, #0
bne .L5
mov r0, r4
pop {r4, lr}
b tegra_pmc_cpu_power_on
.L5:
mov r1, #1
mov r0, r4
bl flowctrl_write_cpu_csr
ldr r2, .L8+4
ldr r3, .L8+8
ldr r1, [r2]
ldr r3, [r3]
mov r0, r4
orr r1, r1, r3
bl flowctrl_write_cpu_halt
mov r0, #0
pop {r4, pc}
.L9:
.align 2
.L8:
.word tegra_cpu_init_mask
.word FLOW_CTRL_WAITEVENT
.word FLOW_CTRL_SCLK_RESUME
.size tegra114_boot_secondary, .-tegra114_boot_secondary
.comm tegra_cpu_init_mask,4,4
.comm FLOW_CTRL_WAITEVENT,4,4
.comm FLOW_CTRL_SCLK_RESUME,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_tegra20_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type tegra20_boot_secondary, @function
tegra20_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
call cpu_logical_map@PLT
mov ebp, eax
mov edi, eax
call tegra_put_cpu_in_reset@PLT
xor esi, esi
mov edi, ebp
call flowctrl_write_cpu_halt@PLT
mov edi, ebp
call tegra_enable_cpu_clock@PLT
mov edi, ebp
xor esi, esi
call flowctrl_write_cpu_csr@PLT
mov edi, ebp
call tegra_cpu_out_of_reset@PLT
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size tegra20_boot_secondary, .-tegra20_boot_secondary
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_tegra20_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tegra20_boot_secondary, %function
tegra20_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl cpu_logical_map
mov r4, r0
bl tegra_put_cpu_in_reset
mov r1, #0
mov r0, r4
bl flowctrl_write_cpu_halt
mov r0, r4
bl tegra_enable_cpu_clock
mov r1, #0
mov r0, r4
bl flowctrl_write_cpu_csr
mov r0, r4
bl tegra_cpu_out_of_reset
mov r0, #0
pop {r4, pc}
.size tegra20_boot_secondary, .-tegra20_boot_secondary
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_tegra30_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type tegra30_boot_secondary, @function
tegra30_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call cpu_logical_map@PLT
mov ebp, eax
mov edi, eax
call tegra_put_cpu_in_reset@PLT
xor esi, esi
mov edi, ebp
call flowctrl_write_cpu_halt@PLT
lea rsi, tegra_cpu_init_mask[rip]
mov edi, ebp
call cpumask_test_cpu@PLT
test rax, rax
je .L2
mov edi, 50
call msecs_to_jiffies@PLT
add rax, QWORD PTR jiffies[rip]
mov r12, rax
jmp .L6
.p2align 4,,10
.p2align 3
.L3:
mov edi, 10
call udelay@PLT
mov rdi, QWORD PTR jiffies[rip]
mov rsi, r12
call time_before@PLT
test rax, rax
je .L2
.L6:
mov edi, ebp
call tegra_pmc_cpu_is_powered@PLT
test rax, rax
je .L3
.L7:
mov edi, ebp
call tegra_enable_cpu_clock@PLT
mov edi, 10
call udelay@PLT
mov edi, ebp
call tegra_pmc_cpu_remove_clamping@PLT
mov r12d, eax
test eax, eax
je .L15
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov edi, ebp
call tegra_pmc_cpu_power_on@PLT
mov r12d, eax
test eax, eax
je .L7
jmp .L1
.p2align 4,,10
.p2align 3
.L15:
mov edi, 10
call udelay@PLT
mov edi, ebp
xor esi, esi
call flowctrl_write_cpu_csr@PLT
mov edi, ebp
call tegra_cpu_out_of_reset@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size tegra30_boot_secondary, .-tegra30_boot_secondary
.globl tegra_cpu_init_mask
.bss
.align 4
.type tegra_cpu_init_mask, @object
.size tegra_cpu_init_mask, 4
tegra_cpu_init_mask:
.zero 4
.globl jiffies
.align 8
.type jiffies, @object
.size jiffies, 8
jiffies:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_tegra30_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tegra30_boot_secondary, %function
tegra30_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl cpu_logical_map
mov r4, r0
bl tegra_put_cpu_in_reset
mov r1, #0
mov r0, r4
bl flowctrl_write_cpu_halt
mov r0, r4
ldr r1, .L16
bl cpumask_test_cpu
cmp r0, #0
beq .L2
mov r0, #50
bl msecs_to_jiffies
ldr r6, .L16+4
ldr r5, [r6]
add r5, r0, r5
b .L6
.L3:
mov r0, #10
bl udelay
mov r1, r5
ldr r0, [r6]
bl time_before
cmp r0, #0
beq .L2
.L6:
mov r0, r4
bl tegra_pmc_cpu_is_powered
cmp r0, #0
beq .L3
.L7:
mov r0, r4
bl tegra_enable_cpu_clock
mov r0, #10
bl udelay
mov r0, r4
bl tegra_pmc_cpu_remove_clamping
subs r5, r0, #0
beq .L15
.L1:
mov r0, r5
pop {r4, r5, r6, pc}
.L2:
mov r0, r4
bl tegra_pmc_cpu_power_on
subs r5, r0, #0
beq .L7
b .L1
.L15:
mov r0, #10
bl udelay
mov r1, r5
mov r0, r4
bl flowctrl_write_cpu_csr
mov r0, r4
bl tegra_cpu_out_of_reset
mov r0, r5
pop {r4, r5, r6, pc}
.L17:
.align 2
.L16:
.word tegra_cpu_init_mask
.word jiffies
.size tegra30_boot_secondary, .-tegra30_boot_secondary
.comm tegra_cpu_init_mask,4,4
.comm jiffies,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_tegra_boot_secondary.c"
.intel_syntax noprefix
.text
.p2align 4
.type tegra_boot_secondary, @function
tegra_boot_secondary:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rsi
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR CONFIG_ARCH_TEGRA_2x_SOC[rip]
call IS_ENABLED@PLT
test rax, rax
je .L2
xor eax, eax
call tegra_get_chip_id@PLT
cmp rax, QWORD PTR TEGRA20[rip]
je .L22
.L2:
mov edi, DWORD PTR CONFIG_ARCH_TEGRA_3x_SOC[rip]
call IS_ENABLED@PLT
test rax, rax
je .L3
xor eax, eax
call tegra_get_chip_id@PLT
cmp rax, QWORD PTR TEGRA30[rip]
je .L23
.L3:
mov edi, DWORD PTR CONFIG_ARCH_TEGRA_114_SOC[rip]
call IS_ENABLED@PLT
test rax, rax
jne .L24
.L4:
mov edi, DWORD PTR CONFIG_ARCH_TEGRA_124_SOC[rip]
call IS_ENABLED@PLT
test rax, rax
jne .L25
mov eax, DWORD PTR EINVAL[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
neg eax
ret
.p2align 4,,10
.p2align 3
.L24:
.cfi_restore_state
xor eax, eax
call tegra_get_chip_id@PLT
cmp rax, QWORD PTR TEGRA114[rip]
jne .L4
.L19:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rsi, rbp
mov edi, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp tegra114_boot_secondary@PLT
.p2align 4,,10
.p2align 3
.L25:
.cfi_restore_state
xor eax, eax
call tegra_get_chip_id@PLT
cmp rax, QWORD PTR TEGRA124[rip]
je .L19
mov eax, DWORD PTR EINVAL[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
neg eax
ret
.p2align 4,,10
.p2align 3
.L22:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rsi, rbp
mov edi, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp tegra20_boot_secondary@PLT
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 24
mov rsi, rbp
mov edi, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp tegra30_boot_secondary@PLT
.cfi_endproc
.LFE0:
.size tegra_boot_secondary, .-tegra_boot_secondary
.globl TEGRA30
.bss
.align 8
.type TEGRA30, @object
.size TEGRA30, 8
TEGRA30:
.zero 8
.globl TEGRA20
.align 8
.type TEGRA20, @object
.size TEGRA20, 8
TEGRA20:
.zero 8
.globl TEGRA124
.align 8
.type TEGRA124, @object
.size TEGRA124, 8
TEGRA124:
.zero 8
.globl TEGRA114
.align 8
.type TEGRA114, @object
.size TEGRA114, 8
TEGRA114:
.zero 8
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.globl CONFIG_ARCH_TEGRA_3x_SOC
.align 4
.type CONFIG_ARCH_TEGRA_3x_SOC, @object
.size CONFIG_ARCH_TEGRA_3x_SOC, 4
CONFIG_ARCH_TEGRA_3x_SOC:
.zero 4
.globl CONFIG_ARCH_TEGRA_2x_SOC
.align 4
.type CONFIG_ARCH_TEGRA_2x_SOC, @object
.size CONFIG_ARCH_TEGRA_2x_SOC, 4
CONFIG_ARCH_TEGRA_2x_SOC:
.zero 4
.globl CONFIG_ARCH_TEGRA_124_SOC
.align 4
.type CONFIG_ARCH_TEGRA_124_SOC, @object
.size CONFIG_ARCH_TEGRA_124_SOC, 4
CONFIG_ARCH_TEGRA_124_SOC:
.zero 4
.globl CONFIG_ARCH_TEGRA_114_SOC
.align 4
.type CONFIG_ARCH_TEGRA_114_SOC, @object
.size CONFIG_ARCH_TEGRA_114_SOC, 4
CONFIG_ARCH_TEGRA_114_SOC:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_tegra_boot_secondary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tegra_boot_secondary, %function
tegra_boot_secondary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L25
push {r4, r5, r6, lr}
mov r5, r0
ldr r0, [r3]
mov r4, r1
bl IS_ENABLED
cmp r0, #0
beq .L2
bl tegra_get_chip_id
ldr r3, .L25+4
ldr r3, [r3]
cmp r0, r3
beq .L21
.L2:
ldr r3, .L25+8
ldr r0, [r3]
bl IS_ENABLED
cmp r0, #0
beq .L3
bl tegra_get_chip_id
ldr r3, .L25+12
ldr r3, [r3]
cmp r0, r3
beq .L22
.L3:
ldr r3, .L25+16
ldr r0, [r3]
bl IS_ENABLED
cmp r0, #0
bne .L23
.L4:
ldr r3, .L25+20
ldr r0, [r3]
bl IS_ENABLED
cmp r0, #0
bne .L24
.L5:
ldr r3, .L25+24
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, r5, r6, pc}
.L23:
bl tegra_get_chip_id
ldr r3, .L25+28
ldr r3, [r3]
cmp r0, r3
bne .L4
.L19:
mov r1, r4
mov r0, r5
pop {r4, r5, r6, lr}
b tegra114_boot_secondary
.L24:
bl tegra_get_chip_id
ldr r3, .L25+32
ldr r3, [r3]
cmp r0, r3
bne .L5
b .L19
.L21:
mov r1, r4
mov r0, r5
pop {r4, r5, r6, lr}
b tegra20_boot_secondary
.L22:
mov r1, r4
mov r0, r5
pop {r4, r5, r6, lr}
b tegra30_boot_secondary
.L26:
.align 2
.L25:
.word CONFIG_ARCH_TEGRA_2x_SOC
.word TEGRA20
.word CONFIG_ARCH_TEGRA_3x_SOC
.word TEGRA30
.word CONFIG_ARCH_TEGRA_114_SOC
.word CONFIG_ARCH_TEGRA_124_SOC
.word EINVAL
.word TEGRA114
.word TEGRA124
.size tegra_boot_secondary, .-tegra_boot_secondary
.comm TEGRA30,4,4
.comm TEGRA20,4,4
.comm TEGRA124,4,4
.comm TEGRA114,4,4
.comm EINVAL,4,4
.comm CONFIG_ARCH_TEGRA_3x_SOC,4,4
.comm CONFIG_ARCH_TEGRA_2x_SOC,4,4
.comm CONFIG_ARCH_TEGRA_124_SOC,4,4
.comm CONFIG_ARCH_TEGRA_114_SOC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_platsmp.c_tegra_secondary_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type tegra_secondary_init, @function
tegra_secondary_init:
.LFB0:
.cfi_startproc
endbr64
lea rsi, tegra_cpu_init_mask[rip]
jmp cpumask_set_cpu@PLT
.cfi_endproc
.LFE0:
.size tegra_secondary_init, .-tegra_secondary_init
.globl tegra_cpu_init_mask
.bss
.align 4
.type tegra_cpu_init_mask, @object
.size tegra_cpu_init_mask, 4
tegra_cpu_init_mask:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_platsmp.c_tegra_secondary_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tegra_secondary_init, %function
tegra_secondary_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r1, .L3
b cpumask_set_cpu
.L4:
.align 2
.L3:
.word tegra_cpu_init_mask
.size tegra_secondary_init, .-tegra_secondary_init
.comm tegra_cpu_init_mask,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.h_tegra_init_suspend.c"
.intel_syntax noprefix
.text
.p2align 4
.type tegra_init_suspend, @function
tegra_init_suspend:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size tegra_init_suspend, .-tegra_init_suspend
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.h_tegra_init_suspend.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tegra_init_suspend, %function
tegra_init_suspend:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size tegra_init_suspend, .-tegra_init_suspend
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_sleep.h_tegra20_cpu_set_resettable_soon.c"
.intel_syntax noprefix
.text
.p2align 4
.type tegra20_cpu_set_resettable_soon, @function
tegra20_cpu_set_resettable_soon:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size tegra20_cpu_set_resettable_soon, .-tegra20_cpu_set_resettable_soon
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_sleep.h_tegra20_cpu_set_resettable_soon.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type tegra20_cpu_set_resettable_soon, %function
tegra20_cpu_set_resettable_soon:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size tegra20_cpu_set_resettable_soon, .-tegra20_cpu_set_resettable_soon
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_core.c_u300_restart.c"
.intel_syntax noprefix
.text
.p2align 4
.type u300_restart, @function
u300_restart:
.LFB0:
.cfi_startproc
endbr64
.p2align 4,,10
.p2align 3
.L2:
jmp .L2
.cfi_endproc
.LFE0:
.size u300_restart, .-u300_restart
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_core.c_u300_restart.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type u300_restart, %function
u300_restart:
@ Volatile: function does not return.
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
.L2:
b .L2
.size u300_restart, .-u300_restart
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_regulator.c_u300_pm_poweroff.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "regulator not available to shut down system\n"
.text
.p2align 4
.globl u300_pm_poweroff
.type u300_pm_poweroff, @function
u300_pm_poweroff:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 24
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea rbp, 4[rsp]
mov r12, rsp
mov rdi, rbp
call sigfillset@PLT
mov edi, DWORD PTR SIG_BLOCK[rip]
mov rdx, r12
mov rsi, rbp
call sigprocmask@PLT
test eax, eax
jne .L1
mov rdi, QWORD PTR main_power_15[rip]
test rdi, rdi
jne .L8
lea rdi, .LC0[rip]
call pr_err@PLT
.L4:
mov edi, DWORD PTR SIG_SETMASK[rip]
xor edx, edx
mov rsi, r12
call sigprocmask@PLT
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L9
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
call regulator_disable@PLT
jmp .L4
.L9:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size u300_pm_poweroff, .-u300_pm_poweroff
.globl main_power_15
.bss
.align 8
.type main_power_15, @object
.size main_power_15, 8
main_power_15:
.zero 8
.globl SIG_SETMASK
.align 4
.type SIG_SETMASK, @object
.size SIG_SETMASK, 4
SIG_SETMASK:
.zero 4
.globl SIG_BLOCK
.align 4
.type SIG_BLOCK, @object
.size SIG_BLOCK, 4
SIG_BLOCK:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_regulator.c_u300_pm_poweroff.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "regulator not available to shut down system\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global u300_pm_poweroff
.syntax unified
.arm
.fpu softvfp
.type u300_pm_poweroff, %function
u300_pm_poweroff:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L10
sub sp, sp, #20
add r0, sp, #8
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
bl sigfillset
ldr r3, .L10+4
add r1, sp, #8
ldr r0, [r3]
add r2, sp, #4
bl sigprocmask
cmp r0, #0
bne .L1
ldr r3, .L10+8
ldr r0, [r3]
cmp r0, #0
bne .L8
ldr r0, .L10+12
bl pr_err
.L4:
ldr r3, .L10+16
mov r2, #0
ldr r0, [r3]
add r1, sp, #4
bl sigprocmask
.L1:
ldr r3, .L10
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L9
add sp, sp, #20
@ sp needed
ldr pc, [sp], #4
.L8:
bl regulator_disable
b .L4
.L9:
bl __stack_chk_fail
.L11:
.align 2
.L10:
.word .LC1
.word SIG_BLOCK
.word main_power_15
.word .LC0
.word SIG_SETMASK
.size u300_pm_poweroff, .-u300_pm_poweroff
.comm main_power_15,4,4
.comm SIG_SETMASK,4,4
.comm SIG_BLOCK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_prcmu_copy_gic_settings.c"
.intel_syntax noprefix
.text
.p2align 4
.globl prcmu_copy_gic_settings
.type prcmu_copy_gic_settings, @function
prcmu_copy_gic_settings:
.LFB0:
.cfi_startproc
endbr64
cmp DWORD PTR PRCMU_GIC_NUMBER_REGS[rip], 1
jle .L6
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor ebp, ebp
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov ebx, 4
sub rsp, 8
.cfi_def_cfa_offset 32
.p2align 4,,10
.p2align 3
.L3:
mov rdi, QWORD PTR GIC_DIST_ENABLE_SET[rip]
add rdi, QWORD PTR dist_base[rip]
add ebp, 1
add rdi, rbx
call readl_relaxed@PLT
mov edi, eax
mov rax, QWORD PTR PRCM_ARMITMSK31TO0[rip]
lea rsi, -4[rbx+rax]
add rbx, 4
call writel@PLT
mov eax, DWORD PTR PRCMU_GIC_NUMBER_REGS[rip]
sub eax, 1
cmp ebp, eax
jl .L3
add rsp, 8
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore 3
.cfi_restore 6
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size prcmu_copy_gic_settings, .-prcmu_copy_gic_settings
.globl dist_base
.bss
.align 8
.type dist_base, @object
.size dist_base, 8
dist_base:
.zero 8
.globl PRCM_ARMITMSK31TO0
.align 8
.type PRCM_ARMITMSK31TO0, @object
.size PRCM_ARMITMSK31TO0, 8
PRCM_ARMITMSK31TO0:
.zero 8
.globl PRCMU_GIC_NUMBER_REGS
.align 4
.type PRCMU_GIC_NUMBER_REGS, @object
.size PRCMU_GIC_NUMBER_REGS, 4
PRCMU_GIC_NUMBER_REGS:
.zero 4
.globl GIC_DIST_ENABLE_SET
.align 8
.type GIC_DIST_ENABLE_SET, @object
.size GIC_DIST_ENABLE_SET, 8
GIC_DIST_ENABLE_SET:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_prcmu_copy_gic_settings.c"
.text
.align 2
.global prcmu_copy_gic_settings
.syntax unified
.arm
.fpu softvfp
.type prcmu_copy_gic_settings, %function
prcmu_copy_gic_settings:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r6, .L7
ldr r3, [r6]
cmp r3, #1
ble .L2
mov r4, #4
mov r5, #0
ldr r9, .L7+4
ldr r8, .L7+8
ldr r7, .L7+12
.L3:
ldr r3, [r8]
ldr r0, [r9]
add r5, r5, #1
add r0, r0, r3
add r0, r0, r4
bl readl_relaxed
ldr r3, [r7]
sub r1, r4, #4
add r1, r1, r3
bl writel
ldr r3, [r6]
add r4, r4, #4
sub r3, r3, #1
cmp r5, r3
blt .L3
.L2:
mov r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
.align 2
.L7:
.word PRCMU_GIC_NUMBER_REGS
.word dist_base
.word GIC_DIST_ENABLE_SET
.word PRCM_ARMITMSK31TO0
.size prcmu_copy_gic_settings, .-prcmu_copy_gic_settings
.comm dist_base,4,4
.comm PRCM_ARMITMSK31TO0,4,4
.comm PRCMU_GIC_NUMBER_REGS,4,4
.comm GIC_DIST_ENABLE_SET,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_prcmu_gic_decouple.c"
.intel_syntax noprefix
.text
.p2align 4
.globl prcmu_gic_decouple
.type prcmu_gic_decouple, @function
prcmu_gic_decouple:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR PRCM_A9_MASK_REQ[rip]
call readl@PLT
mov esi, DWORD PTR PRCM_A9_MASK_REQ[rip]
or eax, DWORD PTR PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ[rip]
mov edi, eax
call writel@PLT
mov edi, DWORD PTR PRCM_A9_MASK_REQ[rip]
call readl@PLT
mov edi, 1
call udelay@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size prcmu_gic_decouple, .-prcmu_gic_decouple
.globl PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ
.bss
.align 4
.type PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ, @object
.size PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ, 4
PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ:
.zero 4
.globl PRCM_A9_MASK_REQ
.align 4
.type PRCM_A9_MASK_REQ, @object
.size PRCM_A9_MASK_REQ, 4
PRCM_A9_MASK_REQ:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_prcmu_gic_decouple.c"
.text
.align 2
.global prcmu_gic_decouple
.syntax unified
.arm
.fpu softvfp
.type prcmu_gic_decouple, %function
prcmu_gic_decouple:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L4
ldr r0, [r4]
bl readl
ldr r3, .L4+4
ldr r1, [r4]
ldr r3, [r3]
orr r0, r0, r3
bl writel
ldr r0, [r4]
bl readl
mov r0, #1
bl udelay
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word PRCM_A9_MASK_REQ
.word PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ
.size prcmu_gic_decouple, .-prcmu_gic_decouple
.comm PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ,4,4
.comm PRCM_A9_MASK_REQ,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_prcmu_gic_pending_irq.c"
.intel_syntax noprefix
.text
.p2align 4
.globl prcmu_gic_pending_irq
.type prcmu_gic_pending_irq, @function
prcmu_gic_pending_irq:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR PRCMU_GIC_NUMBER_REGS[rip]
test eax, eax
jle .L8
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
xor ebp, ebp
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
jmp .L4
.p2align 4,,10
.p2align 3
.L13:
add rbp, 1
cmp DWORD PTR PRCMU_GIC_NUMBER_REGS[rip], ebp
jle .L12
.L4:
mov rdi, QWORD PTR GIC_DIST_PENDING_SET[rip]
lea r12, 0[0+rbp*4]
add rdi, QWORD PTR dist_base[rip]
add rdi, r12
call readl_relaxed@PLT
mov rdi, QWORD PTR GIC_DIST_ENABLE_SET[rip]
add rdi, QWORD PTR dist_base[rip]
add rdi, r12
mov ebx, eax
call readl_relaxed@PLT
test ebx, eax
je .L13
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, 1
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
pop rbx
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L8:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size prcmu_gic_pending_irq, .-prcmu_gic_pending_irq
.globl dist_base
.bss
.align 8
.type dist_base, @object
.size dist_base, 8
dist_base:
.zero 8
.globl PRCMU_GIC_NUMBER_REGS
.align 4
.type PRCMU_GIC_NUMBER_REGS, @object
.size PRCMU_GIC_NUMBER_REGS, 4
PRCMU_GIC_NUMBER_REGS:
.zero 4
.globl GIC_DIST_PENDING_SET
.align 8
.type GIC_DIST_PENDING_SET, @object
.size GIC_DIST_PENDING_SET, 8
GIC_DIST_PENDING_SET:
.zero 8
.globl GIC_DIST_ENABLE_SET
.align 8
.type GIC_DIST_ENABLE_SET, @object
.size GIC_DIST_ENABLE_SET, 8
GIC_DIST_ENABLE_SET:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_prcmu_gic_pending_irq.c"
.text
.align 2
.global prcmu_gic_pending_irq
.syntax unified
.arm
.fpu softvfp
.type prcmu_gic_pending_irq, %function
prcmu_gic_pending_irq:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r9, .L10
ldr r3, [r9]
cmp r3, #0
ble .L2
mov r4, #0
ldr r6, .L10+4
ldr r10, .L10+8
ldr r7, .L10+12
b .L4
.L9:
ldr r3, [r9]
cmp r3, r4
ble .L2
.L4:
ldr r3, [r10]
ldr r0, [r6]
lsl r8, r4, #2
add r0, r0, r3
add r0, r0, r4, lsl #2
bl readl_relaxed
ldr r3, [r6]
ldr r2, [r7]
mov r5, r0
add r0, r3, r2
add r0, r0, r8
bl readl_relaxed
tst r5, r0
add r4, r4, #1
beq .L9
mov r0, #1
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
mov r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
.align 2
.L10:
.word PRCMU_GIC_NUMBER_REGS
.word dist_base
.word GIC_DIST_PENDING_SET
.word GIC_DIST_ENABLE_SET
.size prcmu_gic_pending_irq, .-prcmu_gic_pending_irq
.comm dist_base,4,4
.comm PRCMU_GIC_NUMBER_REGS,4,4
.comm GIC_DIST_PENDING_SET,4,4
.comm GIC_DIST_ENABLE_SET,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_prcmu_gic_recouple.c"
.intel_syntax noprefix
.text
.p2align 4
.globl prcmu_gic_recouple
.type prcmu_gic_recouple, @function
prcmu_gic_recouple:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR PRCM_A9_MASK_REQ[rip]
call readl@PLT
mov edi, DWORD PTR PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ[rip]
mov esi, DWORD PTR PRCM_A9_MASK_REQ[rip]
not edi
and edi, eax
call writel@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size prcmu_gic_recouple, .-prcmu_gic_recouple
.globl PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ
.bss
.align 4
.type PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ, @object
.size PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ, 4
PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ:
.zero 4
.globl PRCM_A9_MASK_REQ
.align 4
.type PRCM_A9_MASK_REQ, @object
.size PRCM_A9_MASK_REQ, 4
PRCM_A9_MASK_REQ:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_prcmu_gic_recouple.c"
.text
.align 2
.global prcmu_gic_recouple
.syntax unified
.arm
.fpu softvfp
.type prcmu_gic_recouple, %function
prcmu_gic_recouple:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L4
ldr r0, [r4]
bl readl
ldr r3, .L4+4
ldr r1, [r4]
ldr r3, [r3]
bic r0, r0, r3
bl writel
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word PRCM_A9_MASK_REQ
.word PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ
.size prcmu_gic_recouple, .-prcmu_gic_recouple
.comm PRCM_A9_MASK_REQ_PRCM_A9_MASK_REQ,4,4
.comm PRCM_A9_MASK_REQ,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_prcmu_is_cpu_in_wfi.c"
.intel_syntax noprefix
.text
.p2align 4
.globl prcmu_is_cpu_in_wfi
.type prcmu_is_cpu_in_wfi, @function
prcmu_is_cpu_in_wfi:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov ebx, edi
mov edi, DWORD PTR PRCM_ARM_WFI_STANDBY[rip]
call readl@PLT
test ebx, ebx
mov edx, DWORD PTR PRCM_ARM_WFI_STANDBY_WFI1[rip]
pop rbx
.cfi_def_cfa_offset 8
cmove edx, DWORD PTR PRCM_ARM_WFI_STANDBY_WFI0[rip]
and eax, edx
ret
.cfi_endproc
.LFE0:
.size prcmu_is_cpu_in_wfi, .-prcmu_is_cpu_in_wfi
.globl PRCM_ARM_WFI_STANDBY_WFI1
.bss
.align 4
.type PRCM_ARM_WFI_STANDBY_WFI1, @object
.size PRCM_ARM_WFI_STANDBY_WFI1, 4
PRCM_ARM_WFI_STANDBY_WFI1:
.zero 4
.globl PRCM_ARM_WFI_STANDBY_WFI0
.align 4
.type PRCM_ARM_WFI_STANDBY_WFI0, @object
.size PRCM_ARM_WFI_STANDBY_WFI0, 4
PRCM_ARM_WFI_STANDBY_WFI0:
.zero 4
.globl PRCM_ARM_WFI_STANDBY
.align 4
.type PRCM_ARM_WFI_STANDBY, @object
.size PRCM_ARM_WFI_STANDBY, 4
PRCM_ARM_WFI_STANDBY:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_prcmu_is_cpu_in_wfi.c"
.text
.align 2
.global prcmu_is_cpu_in_wfi
.syntax unified
.arm
.fpu softvfp
.type prcmu_is_cpu_in_wfi, %function
prcmu_is_cpu_in_wfi:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L6
push {r4, lr}
mov r4, r0
ldr r0, [r3]
bl readl
cmp r4, #0
ldrne r3, .L6+4
ldreq r3, .L6+8
ldr r3, [r3]
and r0, r0, r3
pop {r4, pc}
.L7:
.align 2
.L6:
.word PRCM_ARM_WFI_STANDBY
.word PRCM_ARM_WFI_STANDBY_WFI1
.word PRCM_ARM_WFI_STANDBY_WFI0
.size prcmu_is_cpu_in_wfi, .-prcmu_is_cpu_in_wfi
.comm PRCM_ARM_WFI_STANDBY_WFI1,4,4
.comm PRCM_ARM_WFI_STANDBY_WFI0,4,4
.comm PRCM_ARM_WFI_STANDBY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm.c_prcmu_pending_irq.c"
.intel_syntax noprefix
.text
.p2align 4
.globl prcmu_pending_irq
.type prcmu_pending_irq, @function
prcmu_pending_irq:
.LFB0:
.cfi_startproc
endbr64
cmp DWORD PTR PRCMU_GIC_NUMBER_REGS[rip], 1
jle .L8
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor r12d, r12d
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
jmp .L4
.p2align 4,,10
.p2align 3
.L13:
mov eax, DWORD PTR PRCMU_GIC_NUMBER_REGS[rip]
add r12, 1
sub eax, 1
cmp eax, r12d
jle .L12
.L4:
mov rdi, QWORD PTR PRCM_ARMITVAL31TO0[rip]
lea rbx, 0[0+r12*4]
add rdi, rbx
call readl@PLT
add rbx, QWORD PTR PRCM_ARMITMSK31TO0[rip]
mov rdi, rbx
mov ebp, eax
call readl@PLT
test ebp, eax
je .L13
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, 1
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
pop rbx
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L8:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size prcmu_pending_irq, .-prcmu_pending_irq
.globl PRCM_ARMITVAL31TO0
.bss
.align 8
.type PRCM_ARMITVAL31TO0, @object
.size PRCM_ARMITVAL31TO0, 8
PRCM_ARMITVAL31TO0:
.zero 8
.globl PRCM_ARMITMSK31TO0
.align 8
.type PRCM_ARMITMSK31TO0, @object
.size PRCM_ARMITMSK31TO0, 8
PRCM_ARMITMSK31TO0:
.zero 8
.globl PRCMU_GIC_NUMBER_REGS
.align 4
.type PRCMU_GIC_NUMBER_REGS, @object
.size PRCMU_GIC_NUMBER_REGS, 4
PRCMU_GIC_NUMBER_REGS:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm.c_prcmu_pending_irq.c"
.text
.align 2
.global prcmu_pending_irq
.syntax unified
.arm
.fpu softvfp
.type prcmu_pending_irq, %function
prcmu_pending_irq:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r8, .L10
ldr r3, [r8]
cmp r3, #1
ble .L2
mov r4, #0
ldr r9, .L10+4
ldr r6, .L10+8
b .L4
.L9:
ldr r3, [r8]
sub r3, r3, #1
cmp r3, r4
ble .L2
.L4:
ldr r0, [r9]
lsl r7, r4, #2
add r0, r0, r4, lsl #2
bl readl
ldr r3, [r6]
mov r5, r0
add r0, r7, r3
bl readl
tst r5, r0
add r4, r4, #1
beq .L9
mov r0, #1
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
mov r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
.align 2
.L10:
.word PRCMU_GIC_NUMBER_REGS
.word PRCM_ARMITVAL31TO0
.word PRCM_ARMITMSK31TO0
.size prcmu_pending_irq, .-prcmu_pending_irq
.comm PRCM_ARMITVAL31TO0,4,4
.comm PRCM_ARMITMSK31TO0,4,4
.comm PRCMU_GIC_NUMBER_REGS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm_domains.c_pd_power_off.c"
.intel_syntax noprefix
.text
.p2align 4
.type pd_power_off, @function
pd_power_off:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size pd_power_off, .-pd_power_off
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm_domains.c_pd_power_off.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type pd_power_off, %function
pd_power_off:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #0
bx lr
.size pd_power_off, .-pd_power_off
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm_domains.c_pd_power_on.c"
.intel_syntax noprefix
.text
.p2align 4
.type pd_power_on, @function
pd_power_on:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size pd_power_on, .-pd_power_on
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm_domains.c_pd_power_on.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type pd_power_on, %function
pd_power_on:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #0
bx lr
.size pd_power_on, .-pd_power_on
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm_domains.h_ux500_pm_domains_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type ux500_pm_domains_init, @function
ux500_pm_domains_init:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size ux500_pm_domains_init, .-ux500_pm_domains_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm_domains.h_ux500_pm_domains_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ux500_pm_domains_init, %function
ux500_pm_domains_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #0
bx lr
.size ux500_pm_domains_init, .-ux500_pm_domains_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_dcscb.c_dcscb_cluster_cache_disable.c"
.intel_syntax noprefix
.text
.p2align 4
.type dcscb_cluster_cache_disable, @function
dcscb_cluster_cache_disable:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR all[rip]
call v7_exit_coherency_flush@PLT
xor eax, eax
call read_cpuid_mpidr@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp cci_disable_port_by_cpu@PLT
.cfi_endproc
.LFE0:
.size dcscb_cluster_cache_disable, .-dcscb_cluster_cache_disable
.globl all
.bss
.align 4
.type all, @object
.size all, 4
all:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_dcscb.c_dcscb_cluster_cache_disable.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type dcscb_cluster_cache_disable, %function
dcscb_cluster_cache_disable:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L4
ldr r0, [r3]
bl v7_exit_coherency_flush
bl read_cpuid_mpidr
pop {r4, lr}
b cci_disable_port_by_cpu
.L5:
.align 2
.L4:
.word all
.size dcscb_cluster_cache_disable, .-dcscb_cluster_cache_disable
.comm all,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_dcscb.c_dcscb_cpu_cache_disable.c"
.intel_syntax noprefix
.text
.p2align 4
.type dcscb_cpu_cache_disable, @function
dcscb_cpu_cache_disable:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR louis[rip]
jmp v7_exit_coherency_flush@PLT
.cfi_endproc
.LFE0:
.size dcscb_cpu_cache_disable, .-dcscb_cpu_cache_disable
.globl louis
.bss
.align 4
.type louis, @object
.size louis, 4
louis:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_dcscb.c_dcscb_cpu_cache_disable.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type dcscb_cpu_cache_disable, %function
dcscb_cpu_cache_disable:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
b v7_exit_coherency_flush
.L4:
.align 2
.L3:
.word louis
.size dcscb_cpu_cache_disable, .-dcscb_cpu_cache_disable
.comm louis,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_cluster_is_a15.c"
.intel_syntax noprefix
.text
.p2align 4
.type cluster_is_a15, @function
cluster_is_a15:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR info[rip]
cmp QWORD PTR [rax], rdi
sete al
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size cluster_is_a15, .-cluster_is_a15
.globl info
.bss
.align 8
.type info, @object
.size info, 8
info:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_cluster_is_a15.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cluster_is_a15, %function
cluster_is_a15:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r3, [r3]
ldr r3, [r3]
sub r0, r3, r0
clz r0, r0
lsr r0, r0, #5
bx lr
.L4:
.align 2
.L3:
.word info
.size cluster_is_a15, .-cluster_is_a15
.comm info,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_spc_recalc_rate.c"
.intel_syntax noprefix
.text
.p2align 4
.type spc_recalc_rate, @function
spc_recalc_rate:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 24
.cfi_def_cfa_offset 32
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call to_clk_spc@PLT
lea rsi, 4[rsp]
mov edi, DWORD PTR [rax]
call ve_spc_get_performance@PLT
test rax, rax
jne .L7
imul eax, DWORD PTR 4[rsp], 1000
cdqe
.L1:
mov rdx, QWORD PTR 8[rsp]
sub rdx, QWORD PTR fs:40
jne .L8
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rax, QWORD PTR EIO[rip]
neg rax
jmp .L1
.L8:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size spc_recalc_rate, .-spc_recalc_rate
.globl EIO
.bss
.align 8
.type EIO, @object
.size EIO, 8
EIO:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_spc_recalc_rate.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spc_recalc_rate, %function
spc_recalc_rate:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L8
sub sp, sp, #12
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl to_clk_spc
mov r1, sp
ldr r0, [r0]
bl ve_spc_get_performance
cmp r0, #0
ldreq r0, [sp]
ldrne r3, .L8+4
rsbeq r3, r0, r0, lsl #5
ldrne r0, [r3]
addeq r0, r0, r3, lsl #2
ldr r3, .L8
rsbne r0, r0, #0
lsleq r0, r0, #3
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L7
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word .LC0
.word EIO
.size spc_recalc_rate, .-spc_recalc_rate
.comm EIO,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_spc_round_rate.c"
.intel_syntax noprefix
.text
.p2align 4
.type spc_round_rate, @function
spc_round_rate:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsi
call to_clk_spc@PLT
mov rsi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov edi, DWORD PTR [rax]
jmp ve_spc_round_performance@PLT
.cfi_endproc
.LFE0:
.size spc_round_rate, .-spc_round_rate
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_spc_round_rate.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spc_round_rate, %function
spc_round_rate:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r1
bl to_clk_spc
mov r1, r4
pop {r4, lr}
ldr r0, [r0]
b ve_spc_round_performance
.size spc_round_rate, .-spc_round_rate
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_spc_set_rate.c"
.intel_syntax noprefix
.text
.p2align 4
.type spc_set_rate, @function
spc_set_rate:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rsi
shr rbx, 3
call to_clk_spc@PLT
movabs rdx, 2361183241434822607
mov r8, rax
mov rax, rbx
pop rbx
.cfi_def_cfa_offset 8
mul rdx
mov edi, DWORD PTR [r8]
shr rdx, 4
mov rsi, rdx
jmp ve_spc_set_performance@PLT
.cfi_endproc
.LFE0:
.size spc_set_rate, .-spc_set_rate
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_spc_set_rate.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spc_set_rate, %function
spc_set_rate:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r1
bl to_clk_spc
ldr r1, .L4
ldr r0, [r0]
umull r3, r1, r4, r1
pop {r4, lr}
lsr r1, r1, #6
b ve_spc_set_performance
.L5:
.align 2
.L4:
.word 274877907
.size spc_set_rate, .-spc_set_rate
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_standbywfi_cpu_mask.c"
.intel_syntax noprefix
.text
.p2align 4
.type standbywfi_cpu_mask, @function
standbywfi_cpu_mask:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, edi
mov edi, esi
call cluster_is_a15@PLT
mov edi, ebp
test rax, rax
je .L2
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp STANDBYWFI_STAT_A15_CPU_MASK@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
pop rbp
.cfi_def_cfa_offset 8
jmp STANDBYWFI_STAT_A7_CPU_MASK@PLT
.cfi_endproc
.LFE0:
.size standbywfi_cpu_mask, .-standbywfi_cpu_mask
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_standbywfi_cpu_mask.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type standbywfi_cpu_mask, %function
standbywfi_cpu_mask:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
mov r0, r1
bl cluster_is_a15
cmp r0, #0
mov r0, r4
beq .L2
pop {r4, lr}
b STANDBYWFI_STAT_A15_CPU_MASK
.L2:
pop {r4, lr}
b STANDBYWFI_STAT_A7_CPU_MASK
.size standbywfi_cpu_mask, .-standbywfi_cpu_mask
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_ve_init_opp_table.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "failed to add opp %lu %lu\n"
.text
.p2align 4
.type ve_init_opp_table, @function
ve_init_opp_table:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rdi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 8
.cfi_def_cfa_offset 48
mov edi, DWORD PTR [rdi]
call topology_physical_package_id@PLT
mov rcx, QWORD PTR info[rip]
mov edx, 0
test eax, eax
cmovs eax, edx
mov rdx, QWORD PTR [rcx]
mov rcx, QWORD PTR 8[rcx]
cdqe
movsx rdx, DWORD PTR [rdx+rax*4]
mov rbx, QWORD PTR [rcx+rax*8]
test edx, edx
jle .L2
lea rbp, [rbx+rdx*8]
jmp .L5
.p2align 4,,10
.p2align 3
.L3:
add rbx, 8
cmp rbx, rbp
je .L2
.L5:
imul esi, DWORD PTR [rbx], 1000
mov edx, DWORD PTR 4[rbx]
mov rdi, r13
call dev_pm_opp_add@PLT
mov r12d, eax
test eax, eax
je .L3
mov ecx, DWORD PTR 4[rbx]
mov edx, DWORD PTR [rbx]
mov rdi, r13
lea rsi, .LC0[rip]
call dev_warn@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r12d
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 40
xor r12d, r12d
pop rbx
.cfi_def_cfa_offset 32
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ve_init_opp_table, .-ve_init_opp_table
.globl info
.bss
.align 8
.type info, @object
.size info, 8
info:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_ve_init_opp_table.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "failed to add opp %lu %lu\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ve_init_opp_table, %function
ve_init_opp_table:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r7, r0
ldr r0, [r0]
bl topology_physical_package_id
ldr r3, .L9
bic r0, r0, r0, asr #31
ldr r3, [r3]
ldm r3, {r2, r3}
ldr r8, [r2, r0, lsl #2]
ldr r5, [r3, r0, lsl #2]
cmp r8, #0
ble .L2
mov r6, #0
b .L5
.L3:
cmp r8, r6
add r5, r5, #8
beq .L2
.L5:
ldm r5, {r1, r2}
rsb r3, r1, r1, lsl #5
add r1, r1, r3, lsl #2
mov r0, r7
lsl r1, r1, #3
bl dev_pm_opp_add
subs r4, r0, #0
add r6, r6, #1
beq .L3
mov r0, r7
ldm r5, {r2, r3}
ldr r1, .L9+4
bl dev_warn
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L2:
mov r4, #0
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L10:
.align 2
.L9:
.word info
.word .LC0
.size ve_init_opp_table, .-ve_init_opp_table
.comm info,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_ve_spc_clk_register.c"
.intel_syntax noprefix
.text
.p2align 4
.type ve_spc_clk_register, @function
ve_spc_clk_register:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, 16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 56
.cfi_def_cfa_offset 80
mov esi, DWORD PTR GFP_KERNEL[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
call kzalloc@PLT
test rax, rax
je .L8
mov rbx, rax
mov rax, rsp
mov edi, DWORD PTR 0[rbp]
mov QWORD PTR 8[rbx], rax
call topology_physical_package_id@PLT
mov edx, 0
mov rdi, rbp
test rax, rax
cmovs rax, rdx
mov QWORD PTR [rbx], rax
call dev_name@PLT
lea rsi, 8[rbx]
mov rdi, rbp
mov QWORD PTR [rsp], 0
mov DWORD PTR 24[rsp], eax
lea rax, clk_spc_ops[rip]
mov QWORD PTR 16[rsp], rax
mov eax, DWORD PTR CLK_GET_RATE_NOCACHE[rip]
mov DWORD PTR 8[rsp], eax
call devm_clk_register@PLT
mov rcx, QWORD PTR 40[rsp]
sub rcx, QWORD PTR fs:40
jne .L6
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L6
mov edi, DWORD PTR ENOMEM[rip]
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
neg edi
jmp ERR_PTR@PLT
.L6:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size ve_spc_clk_register, .-ve_spc_clk_register
.globl clk_spc_ops
.bss
.align 4
.type clk_spc_ops, @object
.size clk_spc_ops, 4
clk_spc_ops:
.zero 4
.globl GFP_KERNEL
.align 4
.type GFP_KERNEL, @object
.size GFP_KERNEL, 4
GFP_KERNEL:
.zero 4
.globl ENOMEM
.align 4
.type ENOMEM, @object
.size ENOMEM, 4
ENOMEM:
.zero 4
.globl CLK_GET_RATE_NOCACHE
.align 4
.type CLK_GET_RATE_NOCACHE, @object
.size CLK_GET_RATE_NOCACHE, 4
CLK_GET_RATE_NOCACHE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_ve_spc_clk_register.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ve_spc_clk_register, %function
ve_spc_clk_register:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr r3, .L9
sub sp, sp, #28
ldr r1, [r3]
ldr r3, .L9+4
mov r5, r0
mov r0, #8
ldr r3, [r3]
str r3, [sp, #20]
mov r3,#0
bl kzalloc
subs r4, r0, #0
beq .L7
add r3, sp, #4
str r3, [r4, #4]
ldr r0, [r5]
bl topology_physical_package_id
bic r0, r0, r0, asr #31
str r0, [r4], #4
mov r0, r5
bl dev_name
mov r2, #0
mov lr, r0
ldr r1, .L9+8
ldr r3, .L9+12
ldr ip, [r1]
mov r0, r5
mov r1, r4
stmib sp, {r2, ip}
str lr, [sp, #16]
str r3, [sp, #12]
bl devm_clk_register
.L1:
ldr r3, .L9+4
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L8
add sp, sp, #28
@ sp needed
pop {r4, r5, pc}
.L7:
ldr r3, .L9+16
ldr r0, [r3]
rsb r0, r0, #0
bl ERR_PTR
b .L1
.L8:
bl __stack_chk_fail
.L10:
.align 2
.L9:
.word GFP_KERNEL
.word .LC0
.word CLK_GET_RATE_NOCACHE
.word clk_spc_ops
.word ENOMEM
.size ve_spc_clk_register, .-ve_spc_clk_register
.comm clk_spc_ops,4,4
.comm GFP_KERNEL,4,4
.comm ENOMEM,4,4
.comm CLK_GET_RATE_NOCACHE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_ve_spc_cpu_wakeup_irq.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ve_spc_cpu_wakeup_irq
.type ve_spc_cpu_wakeup_irq, @function
ve_spc_cpu_wakeup_irq:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR MAX_CLUSTERS[rip], rdi
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
jg .L8
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rdi, rsi
mov r12d, edx
call BIT@PLT
mov rdi, rbp
mov rbx, rax
call cluster_is_a15@PLT
mov rdi, QWORD PTR WAKE_INT_MASK[rip]
mov r8d, eax
mov rax, rbx
sal rax, 4
test r8d, r8d
cmove rbx, rax
mov rax, QWORD PTR info[rip]
add rdi, QWORD PTR [rax]
call readl_relaxed@PLT
mov rsi, QWORD PTR WAKE_INT_MASK[rip]
mov rdi, rax
mov rax, rbx
not rbx
and rbx, rdi
or rax, rdi
test r12d, r12d
cmove rax, rbx
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
mov rdi, rax
mov rax, QWORD PTR info[rip]
add rsi, QWORD PTR [rax]
jmp writel_relaxed@PLT
.cfi_endproc
.LFE0:
.size ve_spc_cpu_wakeup_irq, .-ve_spc_cpu_wakeup_irq
.globl info
.bss
.align 8
.type info, @object
.size info, 8
info:
.zero 8
.globl WAKE_INT_MASK
.align 8
.type WAKE_INT_MASK, @object
.size WAKE_INT_MASK, 8
WAKE_INT_MASK:
.zero 8
.globl MAX_CLUSTERS
.align 8
.type MAX_CLUSTERS, @object
.size MAX_CLUSTERS, 8
MAX_CLUSTERS:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_ve_spc_cpu_wakeup_irq.c"
.text
.align 2
.global ve_spc_cpu_wakeup_irq
.syntax unified
.arm
.fpu softvfp
.type ve_spc_cpu_wakeup_irq, %function
ve_spc_cpu_wakeup_irq:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L10
ldr r3, [r3]
cmp r3, r0
bxle lr
push {r4, r5, r6, r7, r8, lr}
mov r4, r0
mov r0, r1
mov r5, r2
bl BIT
mov r3, r0
mov r0, r4
mov r4, r3
bl cluster_is_a15
ldr r7, .L10+4
ldr r6, .L10+8
ldr r2, [r7]
ldr r3, [r6]
cmp r0, #0
ldr r0, [r2]
lsleq r4, r4, #4
add r0, r0, r3
bl readl_relaxed
ldr r2, [r7]
ldr r3, [r6]
ldr r1, [r2]
cmp r5, #0
orrne r0, r4, r0
biceq r0, r0, r4
add r1, r1, r3
pop {r4, r5, r6, r7, r8, lr}
b writel_relaxed
.L11:
.align 2
.L10:
.word MAX_CLUSTERS
.word info
.word WAKE_INT_MASK
.size ve_spc_cpu_wakeup_irq, .-ve_spc_cpu_wakeup_irq
.comm info,4,4
.comm WAKE_INT_MASK,4,4
.comm MAX_CLUSTERS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_ve_spc_find_performance_index.c"
.intel_syntax noprefix
.text
.p2align 4
.type ve_spc_find_performance_index, @function
ve_spc_find_performance_index:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR info[rip]
movsx rdi, edi
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
mov ecx, DWORD PTR [rdx+rdi*4]
mov rdx, QWORD PTR [rax+rdi*8]
test ecx, ecx
jle .L2
xor eax, eax
jmp .L4
.p2align 4,,10
.p2align 3
.L9:
add eax, 1
add rdx, 8
cmp ecx, eax
je .L5
.L4:
cmp QWORD PTR [rdx], rsi
jne .L9
ret
.p2align 4,,10
.p2align 3
.L5:
mov eax, DWORD PTR EINVAL[rip]
neg eax
ret
.L2:
je .L5
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size ve_spc_find_performance_index, .-ve_spc_find_performance_index
.globl info
.bss
.align 8
.type info, @object
.size info, 8
info:
.zero 8
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_ve_spc_find_performance_index.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ve_spc_find_performance_index, %function
ve_spc_find_performance_index:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L9
ldr r3, [r3]
ldm r3, {r2, r3}
ldr ip, [r2, r0, lsl #2]
ldr r3, [r3, r0, lsl #2]
cmp ip, #0
ble .L2
mov r0, #0
sub r3, r3, #4
.L4:
ldr r2, [r3, #4]!
cmp r2, r1
bxeq lr
add r0, r0, #1
cmp ip, r0
bne .L4
.L5:
ldr r3, .L9+4
ldr r0, [r3]
rsb r0, r0, #0
bx lr
.L2:
beq .L5
mov r0, #0
bx lr
.L10:
.align 2
.L9:
.word info
.word EINVAL
.size ve_spc_find_performance_index, .-ve_spc_find_performance_index
.comm info,4,4
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_spc.c_ve_spc_get_performance.c"
.intel_syntax noprefix
.text
.p2align 4
.type ve_spc_get_performance, @function
ve_spc_get_performance:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR info[rip]
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
movsx rbp, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rax, QWORD PTR 16[rax]
mov rbx, rsi
mov r12, QWORD PTR [rax+rbp*8]
call cluster_is_a15@PLT
mov rdi, QWORD PTR PERF_LVL_A15[rip]
test rax, rax
mov rax, QWORD PTR info[rip]
cmove rdi, QWORD PTR PERF_LVL_A7[rip]
add rdi, QWORD PTR [rax]
call readl_relaxed@PLT
mov rdx, QWORD PTR info[rip]
mov rdx, QWORD PTR 8[rdx]
cmp QWORD PTR [rdx+rbp*8], rax
jle .L8
mov rax, QWORD PTR [r12+rax*8]
mov QWORD PTR [rbx], rax
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov eax, DWORD PTR EINVAL[rip]
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
neg eax
ret
.cfi_endproc
.LFE0:
.size ve_spc_get_performance, .-ve_spc_get_performance
.globl info
.bss
.align 8
.type info, @object
.size info, 8
info:
.zero 8
.globl PERF_LVL_A7
.align 8
.type PERF_LVL_A7, @object
.size PERF_LVL_A7, 8
PERF_LVL_A7:
.zero 8
.globl PERF_LVL_A15
.align 8
.type PERF_LVL_A15, @object
.size PERF_LVL_A15, 8
PERF_LVL_A15:
.zero 8
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_spc.c_ve_spc_get_performance.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ve_spc_get_performance, %function
ve_spc_get_performance:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r5, .L8
mov r6, r1
ldr r3, [r5]
mov r4, r0
ldr r3, [r3, #8]
ldr r7, [r3, r0, lsl #2]
bl cluster_is_a15
cmp r0, #0
ldrne r3, .L8+4
ldreq r3, .L8+8
ldr r0, [r3]
ldr r3, [r5]
ldr r3, [r3]
add r0, r0, r3
bl readl_relaxed
mov r3, r0
ldr r2, [r5]
ldr r2, [r2, #4]
ldr r2, [r2, r4, lsl #2]
cmp r2, r0
ldrle r3, .L8+12
ldrgt r3, [r7, r3, lsl #2]
ldrle r0, [r3]
strgt r3, [r6]
rsble r0, r0, #0
movgt r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L9:
.align 2
.L8:
.word info
.word PERF_LVL_A15
.word PERF_LVL_A7
.word EINVAL
.size ve_spc_get_performance, .-ve_spc_get_performance
.comm info,4,4
.comm PERF_LVL_A7,4,4
.comm PERF_LVL_A15,4,4
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
Subsets and Splits