|
gem5 v23.0.0.1
|
Go to the source code of this file.
Namespaces | |
| namespace | gem5 |
| Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223. | |
| namespace | gem5::guest_abi |
Functions | |
| void | testIntVoid (ThreadContext *tc, int a, float b, int c, double d, guest_abi::VarArgs< int, float, double > varargs) |
| void | testPrepareVoid (ThreadContext *tc, int a, int b) |
| int | testPrepareInt (ThreadContext *tc, int a, int b) |
| void | test2DVoid (ThreadContext *tc, int a, float b, int c, double d, guest_abi::VarArgs< int, float, double > varargs) |
| void | testTcInit (ThreadContext *tc, int a) |
| int | testIntRet (ThreadContext *tc) |
| float | testFloatRet (ThreadContext *tc) |
| double | testDoubleRet (ThreadContext *tc) |
| TEST (GuestABITest, ABI_1D_args) | |
| TEST (GuestABITest, ABI_Prepare) | |
| TEST (GuestABITest, ABI_2D_args) | |
| TEST (GuestABITest, ABI_TC_init) | |
| TEST (GuestABITest, ABI_returns) | |
| TEST (GuestABITest, dumpSimcall) | |
| TEST (GuestABITest, isVarArgs) | |
Variables | |
| const int | IntRetValue = 50 |
| const float | FloatRetValue = 3.14 |
| const double | DoubleRetValue = 12.34 |
| TEST | ( | GuestABITest | , |
| ABI_1D_args | |||
| ) |
Definition at line 304 of file guest_abi.test.cc.
References gem5::ThreadContext::DefaultFloatResult, gem5::ThreadContext::DefaultIntResult, gem5::ThreadContext::floatResult, gem5::ThreadContext::intResult, and testIntVoid().
| TEST | ( | GuestABITest | , |
| ABI_2D_args | |||
| ) |
Definition at line 319 of file guest_abi.test.cc.
References gem5::ThreadContext::DefaultFloatResult, gem5::ThreadContext::DefaultIntResult, gem5::ThreadContext::floatResult, gem5::ThreadContext::intResult, and test2DVoid().
| TEST | ( | GuestABITest | , |
| ABI_Prepare | |||
| ) |
Definition at line 312 of file guest_abi.test.cc.
References testPrepareInt(), and testPrepareVoid().
| TEST | ( | GuestABITest | , |
| ABI_returns | |||
| ) |
Definition at line 334 of file guest_abi.test.cc.
References gem5::ThreadContext::DefaultFloatResult, gem5::ThreadContext::DefaultIntResult, DoubleRetValue, gem5::ThreadContext::floatResult, FloatRetValue, gem5::ThreadContext::intResult, IntRetValue, testDoubleRet(), testFloatRet(), and testIntRet().
| TEST | ( | GuestABITest | , |
| ABI_TC_init | |||
| ) |
Definition at line 327 of file guest_abi.test.cc.
References gem5::ThreadContext::intOffset, and testTcInit().
| TEST | ( | GuestABITest | , |
| dumpSimcall | |||
| ) |
Definition at line 392 of file guest_abi.test.cc.
References gem5::statistics::dump(), and testIntVoid().
| TEST | ( | GuestABITest | , |
| isVarArgs | |||
| ) |
Definition at line 399 of file guest_abi.test.cc.
References gem5::guest_abi::IsVarArgsV.
| void test2DVoid | ( | ThreadContext * | tc, |
| int | a, | ||
| float | b, | ||
| int | c, | ||
| double | d, | ||
| guest_abi::VarArgs< int, float, double > | varargs | ||
| ) |
Definition at line 273 of file guest_abi.test.cc.
References gem5::ArmISA::a, gem5::ArmISA::b, gem5::ArmISA::c, gem5::ArmISA::d, gem5::ThreadContext::floats, gem5::guest_abi::VarArgs< Types >::get(), and gem5::ThreadContext::ints.
Referenced by TEST().
| double testDoubleRet | ( | ThreadContext * | tc | ) |
| float testFloatRet | ( | ThreadContext * | tc | ) |
| int testIntRet | ( | ThreadContext * | tc | ) |
| void testIntVoid | ( | ThreadContext * | tc, |
| int | a, | ||
| float | b, | ||
| int | c, | ||
| double | d, | ||
| guest_abi::VarArgs< int, float, double > | varargs | ||
| ) |
Definition at line 240 of file guest_abi.test.cc.
References gem5::ArmISA::a, gem5::ArmISA::b, gem5::ArmISA::c, gem5::ArmISA::d, gem5::ThreadContext::floats, gem5::guest_abi::VarArgs< Types >::get(), and gem5::ThreadContext::ints.
| int testPrepareInt | ( | ThreadContext * | tc, |
| int | a, | ||
| int | b | ||
| ) |
Definition at line 263 of file guest_abi.test.cc.
References gem5::ArmISA::a, gem5::ArmISA::b, and gem5::ThreadContext::ints.
Referenced by TEST().
| void testPrepareVoid | ( | ThreadContext * | tc, |
| int | a, | ||
| int | b | ||
| ) |
Definition at line 256 of file guest_abi.test.cc.
References gem5::ArmISA::a, gem5::ArmISA::b, and gem5::ThreadContext::ints.
Referenced by TEST().
| void testTcInit | ( | ThreadContext * | tc, |
| int | a | ||
| ) |
Definition at line 287 of file guest_abi.test.cc.
References gem5::ArmISA::a, gem5::ThreadContext::intOffset, and gem5::ThreadContext::ints.
Referenced by TEST().
| const double DoubleRetValue = 12.34 |
Definition at line 296 of file guest_abi.test.cc.
Referenced by TEST(), and testDoubleRet().
| const float FloatRetValue = 3.14 |
Definition at line 295 of file guest_abi.test.cc.
Referenced by TEST(), and testFloatRet().
| const int IntRetValue = 50 |
Definition at line 294 of file guest_abi.test.cc.
Referenced by TEST(), and testIntRet().