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 <gabe.bl...@gmail.com>
Tested-by: kokoro <noreply+kok...@google.com>
Reviewed-by: Daniel Carvalho <oda...@yahoo.com.br>
---
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 <gabe.bl...@gmail.com>
Gerrit-Reviewer: Boris Shingarov <shinga...@gmail.com>
Gerrit-Reviewer: Daniel Carvalho <oda...@yahoo.com.br>
Gerrit-Reviewer: Gabe Black <gabe.bl...@gmail.com>
Gerrit-Reviewer: Jason Lowe-Power <ja...@lowepower.com>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s