Commit 8ede7430 authored by Deepti Gandluri's avatar Deepti Gandluri Committed by Commit Bot

Cleanup ARM simulator Read/Write helpers

Change-Id: I24893d2db441282df8ac3267b0daf8f163e0edb5
Reviewed-on: https://chromium-review.googlesource.com/1177198Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55175}
parent a1f7da8f
This diff is collapsed.
...@@ -276,18 +276,18 @@ class Simulator : public SimulatorBase { ...@@ -276,18 +276,18 @@ class Simulator : public SimulatorBase {
inline void WriteB(int32_t addr, int8_t value); inline void WriteB(int32_t addr, int8_t value);
int WriteExB(int32_t addr, uint8_t value); int WriteExB(int32_t addr, uint8_t value);
inline uint16_t ReadHU(int32_t addr, Instruction* instr); inline uint16_t ReadHU(int32_t addr);
inline int16_t ReadH(int32_t addr, Instruction* instr); inline int16_t ReadH(int32_t addr);
uint16_t ReadExHU(int32_t addr, Instruction* instr); uint16_t ReadExHU(int32_t addr);
// Note: Overloaded on the sign of the value. // Note: Overloaded on the sign of the value.
inline void WriteH(int32_t addr, uint16_t value, Instruction* instr); inline void WriteH(int32_t addr, uint16_t value);
inline void WriteH(int32_t addr, int16_t value, Instruction* instr); inline void WriteH(int32_t addr, int16_t value);
int WriteExH(int32_t addr, uint16_t value, Instruction* instr); int WriteExH(int32_t addr, uint16_t value);
inline int ReadW(int32_t addr, Instruction* instr); inline int ReadW(int32_t addr);
int ReadExW(int32_t addr, Instruction* instr); int ReadExW(int32_t addr);
inline void WriteW(int32_t addr, int value, Instruction* instr); inline void WriteW(int32_t addr, int value);
int WriteExW(int32_t addr, int value, Instruction* instr); int WriteExW(int32_t addr, int value);
int32_t* ReadDW(int32_t addr); int32_t* ReadDW(int32_t addr);
void WriteDW(int32_t addr, int32_t value1, int32_t value2); void WriteDW(int32_t addr, int32_t value1, int32_t value2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment