Gabe Black has uploaded this change for review. (
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
---
M src/arch/sparc/process.cc
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc
index f0c6d94..cc2f4de 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,
+ Gem5HwcapSparcFlush = 1,
+ Gem5HwcapSparcStbar = 2,
+ Gem5HwcapSparcSwap = 4,
+ Gem5HwcapSparcMuldiv = 8,
+ Gem5HwcapSparcV9 = 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
+ Gem5HwcapSparcUltra3 = 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;
+ Gem5HwcapSparcFlush |
+ Gem5HwcapSparcStbar |
+ Gem5HwcapSparcSwap |
+ Gem5HwcapSparcMuldiv |
+ Gem5HwcapSparcV9 |
+ Gem5HwcapSparcUltra3;
// 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: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s