Re: [gem5-users] Passing a pointer as a parameter in PseudoInstruction

2019-02-25 Thread F. Zulian
Hello Akshatha, If you don't find a better solution, you could have an uint64_t parameter in your function and pass a casted pointer as argument. Inside the function it can be treated as a pointer. Something like this: // $ gcc -Wextra -g -O0 pointer.c -o pointer// $ ./pointer #include #include

[gem5-users] DVFS

2019-02-25 Thread nevethetha ganesan
Hello, I tried to enable dvfs in gem5 simulator. I defined four voltages for four clusters. In the config.ini file I am getting the output as dvfs enabled. But in the clockDomain attribute in the config.ini file i m getting the output as clock = 1 1 3 4 i can't understand what it means? Kindly

[gem5-users] Passing a pointer as a parameter in PseudoInstruction

2019-02-25 Thread Mangala Kenche Gowda, Akshatha
Hello guys, I have added a new pseudo instruction in gem5 codebase and now I need to pass pointer value as a parameter for this pseudo instruction. Currently I can pass only integer values as the function parameter and the passing pointer causes errors. Please let me know if anybody has any