diff options
author | Brandon Potter <Brandon.Potter@amd.com> | 2017-03-01 13:18:49 -0600 |
---|---|---|
committer | Brandon Potter <Brandon.Potter@amd.com> | 2017-03-09 22:42:45 +0000 |
commit | e5fe2b82b7cf8842a5a202da69c003d2a2c6af3f (patch) | |
tree | 5fa8722df2f643bb5978108afc3638160218b01a /src/base/loader | |
parent | 43418e7f81099072fb7d56dae11110ae1d858162 (diff) | |
download | gem5-e5fe2b82b7cf8842a5a202da69c003d2a2c6af3f.tar.xz |
style: Correct some style issues
This changeset fixes line alignment issues, spacing, spelling,
etc. for files that are used during SE Mode.
Change-Id: Ie61b8d0eb4ebb5af554d72f1297808027833616e
Reviewed-on: https://gem5-review.googlesource.com/2264
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Michael LeBeane <Michael.Lebeane@amd.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Pierre-Yves PĂ©neau <pierre-yves.peneau@lirmm.fr>
Diffstat (limited to 'src/base/loader')
-rw-r--r-- | src/base/loader/elf_object.hh | 7 | ||||
-rw-r--r-- | src/base/loader/object_file.hh | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/base/loader/elf_object.hh b/src/base/loader/elf_object.hh index aa28cd62a..d74ee8914 100644 --- a/src/base/loader/elf_object.hh +++ b/src/base/loader/elf_object.hh @@ -51,12 +51,11 @@ class ElfObject : public ObjectFile { protected: - - //The global definition of a "Section" is closest to elf's segments. + // The global definition of a gem5 "Section" is closest to ELF's segments. typedef ObjectFile::Section Segment; - //These values are provided to a linux process by the kernel, so we - //need to keep them around. + // These values are provided to a linux process by the kernel, so we + // need to keep them around. Addr _programHeaderTable; uint16_t _programHeaderSize; uint16_t _programHeaderCount; diff --git a/src/base/loader/object_file.hh b/src/base/loader/object_file.hh index 98e1fc538..80ffa91f6 100644 --- a/src/base/loader/object_file.hh +++ b/src/base/loader/object_file.hh @@ -74,7 +74,7 @@ class ObjectFile uint8_t *fileData; size_t len; - Arch arch; + Arch arch; OpSys opSys; ObjectFile(const std::string &_filename, size_t _len, uint8_t *_data, @@ -114,9 +114,9 @@ class ObjectFile protected: struct Section { - Addr baseAddr; + Addr baseAddr; uint8_t *fileImage; - size_t size; + size_t size; }; Addr entry; |