From: Gabe Black Date: Mon, 5 Mar 2007 16:08:18 +0000 (+0000) Subject: Stub implementation for x86 X-Git-Tag: m5_2.0_beta3~151 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05ba90b7268089cab46f35c7808502055c18c4d7;p=gem5.git Stub implementation for x86 --HG-- extra : convert_revision : dd6b4d14070a2e99c179c5f780c9935847da8eda --- 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__