X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmem%2Fruby%2Fsystem%2FMachineID.hh;h=0bcd10efc39f5cb2c52d7fd332c132d282116297;hb=a49b1df3f0d1e1c9ce46675d9fce7787d98caca7;hp=18beac5d8851ce05fa23966f562950d0d142e4cf;hpb=a547cf34b9216ebbccdb69c3d98af062098b1f28;p=gem5.git diff --git a/src/mem/ruby/system/MachineID.hh b/src/mem/ruby/system/MachineID.hh index 18beac5d8..0bcd10efc 100644 --- a/src/mem/ruby/system/MachineID.hh +++ b/src/mem/ruby/system/MachineID.hh @@ -38,7 +38,11 @@ struct MachineID { MachineType type; - int num; // range: 0 ... number of this machine's components in system - 1 + //! range: 0 ... number of this machine's components in system - 1 + uint32_t num; + + MachineType getType() const { return type; } + uint32_t getNum() const { return num; } }; inline std::string