summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-09-11 18:26:32 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2024-09-11 18:26:32 +0300
commitb67ee19a907ddb7dab8b1bb4b35659d8372bfc46 (patch)
tree007a49ff4412cd95a293e55629270d4c854501a5 /rust/helpers/task.c
parenta53f48b6327c12437c9f429da2283e526eda2362 (diff)
downloadlinux-b67ee19a907ddb7dab8b1bb4b35659d8372bfc46.tar.xz
LoongArch: KVM: Add Binary Translation extension support
Loongson Binary Translation (LBT) is used to accelerate binary translation, which contains 4 scratch registers (scr0 to scr3), x86/ARM eflags (eflags) and x87 fpu stack pointer (ftop). Like FPU extension, here a lazy enabling method is used for LBT. the LBT context is saved/restored on the vcpu context switch path. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions