locked_mem.hh revision 12218
15369Ssaidi@eecs.umich.edu/* 23005Sstever@eecs.umich.edu * Copyright (c) 2006 The Regents of The University of Michigan 33005Sstever@eecs.umich.edu * Copyright (c) 2007-2008 The Florida State University 43005Sstever@eecs.umich.edu * Copyright (c) 2009 The University of Edinburgh 53005Sstever@eecs.umich.edu * All rights reserved. 63005Sstever@eecs.umich.edu * 73005Sstever@eecs.umich.edu * Redistribution and use in source and binary forms, with or without 83005Sstever@eecs.umich.edu * modification, are permitted provided that the following conditions are 93005Sstever@eecs.umich.edu * met: redistributions of source code must retain the above copyright 103005Sstever@eecs.umich.edu * notice, this list of conditions and the following disclaimer; 113005Sstever@eecs.umich.edu * redistributions in binary form must reproduce the above copyright 123005Sstever@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the 133005Sstever@eecs.umich.edu * documentation and/or other materials provided with the distribution; 143005Sstever@eecs.umich.edu * neither the name of the copyright holders nor the names of its 153005Sstever@eecs.umich.edu * contributors may be used to endorse or promote products derived from 163005Sstever@eecs.umich.edu * this software without specific prior written permission. 173005Sstever@eecs.umich.edu * 183005Sstever@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 193005Sstever@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 203005Sstever@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 213005Sstever@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 223005Sstever@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 233005Sstever@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 243005Sstever@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 253005Sstever@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 263005Sstever@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 273005Sstever@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 283005Sstever@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 292710SN/A * 302710SN/A * Authors: Steve Reinhardt 313005Sstever@eecs.umich.edu * Stephen Hines 322889SN/A * Timothy M. Jones 336654Snate@binkert.org */ 346654Snate@binkert.org 356654Snate@binkert.org#ifndef __ARCH_POWER_LOCKED_MEM_HH__ 366654Snate@binkert.org#define __ARCH_POWER_LOCKED_MEM_HH__ 376654Snate@binkert.org 382667SN/A/** 396654Snate@binkert.org * @file 406654Snate@binkert.org * 416654Snate@binkert.org * ISA-specific helper functions for locked memory accesses. 425457Ssaidi@eecs.umich.edu */ 436654Snate@binkert.org 446654Snate@binkert.org#include "arch/generic/locked_mem.hh" 455457Ssaidi@eecs.umich.edu 466654Snate@binkert.org#endif // __ARCH_POWER_LOCKED_MEM_HH__ 478169SLisa.Hsu@amd.com