arch,sim: Rename GuestABI namespace as guest_abi
As part of recent decisions regarding namespace naming conventions, all namespaces will be changed to snake case. ::GuestABI became ::guest_abi. Change-Id: I68700ef63479f1bb3eeab044b29dc09d86424608 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45433 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu> Maintainer: Gabe Black <gabe.black@gmail.com>
This commit is contained in:
committed by
Daniel Carvalho
parent
b8ff106024
commit
0c8bd5013a
@@ -163,7 +163,7 @@ class TestProxy
|
||||
BackingStore &store;
|
||||
|
||||
TestProxy(BackingStore &_store) : store(_store) {}
|
||||
// Sneaky constructor for testing GuestABI integration.
|
||||
// Sneaky constructor for testing guest_abi integration.
|
||||
TestProxy(ThreadContext *tc) : store(*(BackingStore *)tc) {}
|
||||
|
||||
void
|
||||
@@ -469,7 +469,8 @@ struct TestABI
|
||||
using State = int;
|
||||
};
|
||||
|
||||
namespace GuestABI
|
||||
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi);
|
||||
namespace guest_abi
|
||||
{
|
||||
|
||||
template <>
|
||||
@@ -482,7 +483,7 @@ struct Argument<TestABI, Addr>
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace guest_abi
|
||||
|
||||
bool abiCalled = false;
|
||||
bool abiCalledConst = false;
|
||||
@@ -501,7 +502,7 @@ abiTestFuncConst(ThreadContext *tc, ConstTestPtr<uint8_t> ptr)
|
||||
EXPECT_EQ(ptr.addr(), 0x1000);
|
||||
}
|
||||
|
||||
TEST(ProxyPtr, GuestABI)
|
||||
TEST(ProxyPtr, guest_abi)
|
||||
{
|
||||
BackingStore store(0x1000, 0x1000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user