From 26c0426e443c34c1264ea437692a85a3f0967614 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 11 Mar 2007 18:12:33 -0400 Subject: Make sttw and sttwa use the twin memory operations. --HG-- extra : convert_revision : 368d1c57a46fd5ca15461cb5ee8e05fd1e080daa --- src/cpu/simple/atomic.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/cpu/simple/atomic.cc') diff --git a/src/cpu/simple/atomic.cc b/src/cpu/simple/atomic.cc index ca4627bbf..6a14a8aa5 100644 --- a/src/cpu/simple/atomic.cc +++ b/src/cpu/simple/atomic.cc @@ -446,6 +446,17 @@ AtomicSimpleCPU::write(T data, Addr addr, unsigned flags, uint64_t *res) #ifndef DOXYGEN_SHOULD_SKIP_THIS + +template +Fault +AtomicSimpleCPU::write(Twin32_t data, Addr addr, + unsigned flags, uint64_t *res); + +template +Fault +AtomicSimpleCPU::write(Twin64_t data, Addr addr, + unsigned flags, uint64_t *res); + template Fault AtomicSimpleCPU::write(uint64_t data, Addr addr, -- cgit v1.2.3