diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/locked_mem.hh | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/arch/x86/locked_mem.hh b/src/arch/x86/locked_mem.hh index c8c10a658..e1d289ee9 100644 --- a/src/arch/x86/locked_mem.hh +++ b/src/arch/x86/locked_mem.hh @@ -31,10 +31,28 @@ #ifndef __ARCH_X86_LOCKEDMEM_HH__ #define __ARCH_X86_LOCKEDMEM_HH__ -#error X86 is not yet supported! +/** + * @file + * + * ISA-specific helper functions for locked memory accesses. + */ + +#include "mem/request.hh" namespace X86ISA { + template <class XC> + inline void + handleLockedRead(XC *xc, Request *req) + { + } + + template <class XC> + inline bool + handleLockedWrite(XC *xc, Request *req) + { + return true; + } }; #endif // __ARCH_X86_LOCKEDMEM_HH__ |