From 05ba90b7268089cab46f35c7808502055c18c4d7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 5 Mar 2007 16:08:18 +0000 Subject: [PATCH] Stub implementation for x86 --HG-- extra : convert_revision : dd6b4d14070a2e99c179c5f780c9935847da8eda --- src/arch/x86/locked_mem.hh | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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 + inline void + handleLockedRead(XC *xc, Request *req) + { + } + + template + inline bool + handleLockedWrite(XC *xc, Request *req) + { + return true; + } }; #endif // __ARCH_X86_LOCKEDMEM_HH__ -- 2.30.2