diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-07-21 09:26:32 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-07-21 09:26:32 +0800 |
commit | 3e394eac6a61c846bf8c962b3e7b35ec8e025920 (patch) | |
tree | 4ddfeacb4248a25737b2c8a09739f26b01225736 /scripts/lib/kdoc/kdoc_parser.py | |
parent | d23bd878f6ea9cff93104159356e012a8b2bbfaf (diff) |
LoongArch: KVM: Use generic function loongarch_eiointc_read()
Generic read function loongarch_eiointc_read() is used for 1/2/4/8
bytes read access. It reads 8 bytes from emulated software state and
shift right from address offset.
Also the similar with kvm_complete_iocsr_read(), destination register
of IOCSRRD.{B/H/W} is sign extension from byte/half word/word.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions