summary refs log tree commit diff stats
path: root/io/channel-socket.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-09-06 15:01:58 +0800
committerSong Gao <gaosong@loongson.cn>2025-09-18 17:38:34 +0800
commit0c042601a638c37a95690c6429af5a1b5a35d1dd (patch)
treea9adce0685196b588a0f9e18f4e3cfafd11fcf53 /io/channel-socket.c
parentf0007b7f03e2d7fc33e71c3a582f2364c51a226b (diff)
downloadfocaccia-qemu-0c042601a638c37a95690c6429af5a1b5a35d1dd.tar.gz
focaccia-qemu-0c042601a638c37a95690c6429af5a1b5a35d1dd.zip
hw/loongarch/virt: Add BSP support with aux boot code
If system boots directly from Linux kernel, BSP core jumps to kernel
entry of Linux kernel image and other APs jump to aux boot code. Instead
BSP and APs can all jump to aux boot code like UEFI bios.

With aux boot code, BSP core is judged from physical cpu id, whose
cpu id is 0. With BSP core, load data to register A0-A2 and PC.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-ID: <20250906070200.3749326-2-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'io/channel-socket.c')
0 files changed, 0 insertions, 0 deletions