summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2011-04-10 21:02:28 -0400
committerAli Saidi <saidi@eecs.umich.edu>2011-04-10 21:02:28 -0400
commitb9dc954d899b4c5132e7411bb2de7737fbbaa254 (patch)
tree081aaba87b3b1ab6b4740b43518c496a7a2ed16c /src/arch/arm
parent95faf1904bb9d0e66e9007e1ce15d7201342a25b (diff)
downloadgem5-b9dc954d899b4c5132e7411bb2de7737fbbaa254.tar.xz
ARM: Get rid of some comments/todos that no longer apply.
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/linux/process.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/arch/arm/linux/process.cc b/src/arch/arm/linux/process.cc
index fc48ec12d..8cf113a60 100644
--- a/src/arch/arm/linux/process.cc
+++ b/src/arch/arm/linux/process.cc
@@ -518,8 +518,6 @@ ArmLinuxProcess::startup()
swiNeg1, sizeof(swiNeg1));
}
- // We don't have barriers, so just return.
- // @todo Add a barrrier in this code
uint8_t memory_barrier[] =
{
0x5f, 0xf0, 0x7f, 0xf5, // dmb
@@ -528,9 +526,6 @@ ArmLinuxProcess::startup()
tc->getMemPort()->writeBlob(commPage + 0x0fa0, memory_barrier,
sizeof(memory_barrier));
- // This -should- be atomic, but I don't think all the support that we'd
- // need is implemented. There should also be memory barriers around it.
- // @todo replace this with ldrex/strex and dmb
uint8_t cmpxchg[] =
{
0x9f, 0x3f, 0x92, 0xe1, // ldrex r3, [r2]