syscall_emul: style changes and FDArray refactor
authorBrandon Potter <brandon.potter@amd.com>
Wed, 18 Apr 2018 18:42:31 +0000 (14:42 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Wed, 19 Sep 2018 20:53:13 +0000 (20:53 +0000)
commitaa56ed4dc50255869e72b9399c671c21d88e88d4
tree8d0b2e405e6a2334c505b8581dc7cedd728ec2e6
parent194d650536cb49c374efdb1fe0473b3eec5dea1e
syscall_emul: style changes and FDArray refactor

Some members were defined as public when they should have been
privately declared so these were moved to the appropriate spot.

The operator[] had inline specified for for an in-class
definition which is redundant since inline definitions are
always implicitly inline.

Private members had the leading underscore applied to them to
denote that they're private (consistent with style guide).

Changed static const defined class variable into a constexpr
with brace-list initialization.

Change-Id: If3054416b57827d1542e9ebab428d67d0e767723
Reviewed-on: https://gem5-review.googlesource.com/12110
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/sim/fd_array.cc
src/sim/fd_array.hh