Gabe Black has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/45244 )
Change subject: arch-sparc: Replace M5_HWCAP_SPARC_* constants.
......................................................................
arch-sparc: Replace M5_HWCAP_SPARC_* constants.
These were not using correct style and were using an obsolete M5 prefix.
Change-Id: I24273857bee2fcf52f203262b431c23665d5e87f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45244
Maintainer: Gabe Black <[email protected]>
Tested-by: kokoro <[email protected]>
Reviewed-by: Daniel Carvalho <[email protected]>
---
M src/arch/sparc/process.cc
1 file changed, 13 insertions(+), 13 deletions(-)
Approvals:
Daniel Carvalho: Looks good to me, approved
Gabe Black: Looks good to me, approved
kokoro: Regressions pass
diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc
index 791ade6..b2eece7 100644
--- a/src/arch/sparc/process.cc
+++ b/src/arch/sparc/process.cc
@@ -153,26 +153,26 @@
// maintain double word alignment of the stack pointer.
uint64_t align = 16;
- enum hardwareCaps
+ enum HardwareCaps
{
- M5_HWCAP_SPARC_FLUSH = 1,
- M5_HWCAP_SPARC_STBAR = 2,
- M5_HWCAP_SPARC_SWAP = 4,
- M5_HWCAP_SPARC_MULDIV = 8,
- M5_HWCAP_SPARC_V9 = 16,
+ HwcapSparcFlush = 1,
+ HwcapSparcStbar = 2,
+ HwcapSparcSwap = 4,
+ HwcapSparcMuldiv = 8,
+ HwcapSparcV9 = 16,
// This one should technically only be set
// if there is a cheetah or cheetah_plus tlb,
// but we'll use it all the time
- M5_HWCAP_SPARC_ULTRA3 = 32
+ HwcapSparcUltra3 = 32
};
const int64_t hwcap =
- M5_HWCAP_SPARC_FLUSH |
- M5_HWCAP_SPARC_STBAR |
- M5_HWCAP_SPARC_SWAP |
- M5_HWCAP_SPARC_MULDIV |
- M5_HWCAP_SPARC_V9 |
- M5_HWCAP_SPARC_ULTRA3;
+ HwcapSparcFlush |
+ HwcapSparcStbar |
+ HwcapSparcSwap |
+ HwcapSparcMuldiv |
+ HwcapSparcV9 |
+ HwcapSparcUltra3;
// Setup the auxilliary vectors. These will already have endian
conversion.
// Auxilliary vectors are loaded only for elf formatted executables.
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/45244
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I24273857bee2fcf52f203262b431c23665d5e87f
Gerrit-Change-Number: 45244
Gerrit-PatchSet: 8
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Boris Shingarov <[email protected]>
Gerrit-Reviewer: Daniel Carvalho <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s