arch,base,mem,sim: Fix style in base/types.hh and remove extra includes.
authorGabe Black <gabe.black@gmail.com>
Wed, 27 Jan 2021 06:46:26 +0000 (22:46 -0800)
committerGabe Black <gabe.black@gmail.com>
Thu, 28 Jan 2021 05:33:33 +0000 (05:33 +0000)
commit5a23207ee90033df176c4efcc1491db91ce01970
tree488d2bcf0cda86947b1e001c7b2630156cc51a9b
parent6310051fc5c9d1b4df1b7bdaa354cc53059e316d
arch,base,mem,sim: Fix style in base/types.hh and remove extra includes.

The base/refcnt.hh header was not used in base/types.hh at all, and
enum/ByteOrder.hh was there just so other files could find it. Instead,
this change moves enum/Byteorder.hh to sim/byteswap.hh where it's fits
with the purpose of the header.

This change also fixes some style problems with the code in
base/types.hh itself.

Change-Id: I471ae5cb2cca9169ba8616fb8411b40108a3ffb2
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39855
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
12 files changed:
src/arch/arm/freebsd/freebsd.hh
src/arch/arm/isa_traits.hh
src/arch/mips/isa_traits.hh
src/arch/power/isa_traits.hh
src/arch/riscv/isa_traits.hh
src/arch/sparc/isa_traits.hh
src/arch/sparc/solaris/solaris.hh
src/arch/x86/isa_traits.hh
src/base/pixel.hh
src/base/types.hh
src/mem/packet.hh
src/sim/byteswap.hh