mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-17 02:26:46 +00:00
Fix a typo when assign 'dst.rbx' at copy_gp_regs
This commit is contained in:
parent
20524ae64a
commit
4dacff5be4
@ -69,7 +69,7 @@ pub struct GpRegs {
|
||||
macro_rules! copy_gp_regs {
|
||||
($src: ident, $dst: ident) => {
|
||||
$dst.rax = $src.rax;
|
||||
$dst.rbx = $src.rax;
|
||||
$dst.rbx = $src.rbx;
|
||||
$dst.rcx = $src.rcx;
|
||||
$dst.rdx = $src.rdx;
|
||||
$dst.rsi = $src.rsi;
|
||||
|
Loading…
x
Reference in New Issue
Block a user