locked_mem.hh (10030:b531e328342d) locked_mem.hh (12218:8c5db15dc8e7)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 23 unchanged lines hidden (view full) ---

32#define __ARCH_X86_LOCKEDMEM_HH__
33
34/**
35 * @file
36 *
37 * ISA-specific helper functions for locked memory accesses.
38 */
39
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 23 unchanged lines hidden (view full) ---

32#define __ARCH_X86_LOCKEDMEM_HH__
33
34/**
35 * @file
36 *
37 * ISA-specific helper functions for locked memory accesses.
38 */
39
40#include "mem/packet.hh"
41#include "mem/request.hh"
40#include "arch/generic/locked_mem.hh"
42
41
43namespace X86ISA
44{
45 template <class XC>
46 inline void
47 handleLockedSnoop(XC *xc, PacketPtr pkt, Addr cacheBlockMask)
48 {
49 }
50
51 template <class XC>
52 inline void
53 handleLockedRead(XC *xc, Request *req)
54 {
55 }
56
57 template <class XC>
58 inline bool
59 handleLockedWrite(XC *xc, Request *req, Addr cacheBlockMask)
60 {
61 return true;
62 }
63
64 template <class XC>
65 inline void
66 handleLockedSnoopHit(XC *xc)
67 {
68 }
69}
70
71#endif // __ARCH_X86_LOCKEDMEM_HH__
42#endif // __ARCH_X86_LOCKEDMEM_HH__