blob: 7b8a8da155e1481ecda594000bed872fb0cac689 [file] [log] [blame]
njn7cf0bd32002-06-08 13:36:03 +00001/*--------------------------------------------------------------------*/
2/*--- D1 cache simulation. ---*/
3/*--- vg_cachesim_D1.c ---*/
4/*--------------------------------------------------------------------*/
njn4f9c9342002-04-29 16:03:24 +00005
njn7cf0bd32002-06-08 13:36:03 +00006/*
7 This file is part of Valgrind, an x86 protected-mode emulator
8 designed for debugging and profiling binaries on x86-Unixes.
njn4f9c9342002-04-29 16:03:24 +00009
njn7cf0bd32002-06-08 13:36:03 +000010 Copyright (C) 2002 Nicholas Nethercote
11 njn25@cam.ac.uk
njn4f9c9342002-04-29 16:03:24 +000012
njn7cf0bd32002-06-08 13:36:03 +000013 This program is free software; you can redistribute it and/or
14 modify it under the terms of the GNU General Public License as
15 published by the Free Software Foundation; either version 2 of the
16 License, or (at your option) any later version.
njn4f9c9342002-04-29 16:03:24 +000017
njn7cf0bd32002-06-08 13:36:03 +000018 This program is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 General Public License for more details.
njn4f9c9342002-04-29 16:03:24 +000022
njn7cf0bd32002-06-08 13:36:03 +000023 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
26 02111-1307, USA.
njn4f9c9342002-04-29 16:03:24 +000027
njn7cf0bd32002-06-08 13:36:03 +000028 The GNU General Public License is contained in the file LICENSE.
29*/
njn4f9c9342002-04-29 16:03:24 +000030
njn7cf0bd32002-06-08 13:36:03 +000031#include "vg_cachesim_gen.c"
njn4f9c9342002-04-29 16:03:24 +000032
njn7cf0bd32002-06-08 13:36:03 +000033CACHESIM(D1, { (*m1)++; cachesim_L2_doref(a, size, m1, m2); } );
njn4f9c9342002-04-29 16:03:24 +000034
njn7cf0bd32002-06-08 13:36:03 +000035/*--------------------------------------------------------------------*/
36/*--- end vg_cachesim_D1.c ---*/
37/*--------------------------------------------------------------------*/
njn4f9c9342002-04-29 16:03:24 +000038