Debian Codegraph @

src/soc/amd/common/block/cpu/car/exit_car.S

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <gcccar.inc>
4 #include <cpu/x86/cache.h>
5
6 .code32
7 .globl chipset_teardown_car
8
9 chipset_teardown_car:
10 pop %esp
11
12 /* Disable cache */
13 movl %cr0, %eax
14 orl $CR0_CacheDisable, %eax
15 movl %eax, %cr0
16
17 AMD_DISABLE_STACK
18
19 jmp *%esp