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