Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / system / blaze / include / sim_cmd_struct.h
/*
* ========== Copyright Header Begin ==========================================
*
* OpenSPARC T2 Processor File: sim_cmd_struct.h
* Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
*
* The above named program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License version 2 as published by the Free Software Foundation.
*
* The above named program is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this work; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*
* ========== Copyright Header End ============================================
*/
/*
* Copyright (C) 1996, Sun Microsystems, Inc.
*/
#ident "@(#)1.2 01/11/06 SMI sim_cmd_struct.h"
#ifndef _SIM_CMD_STRUCT_H_
#define _SIM_CMD_STRUCT_H_
#include <synch.h>
typedef struct SimCmd_s {
int steps;
cond_t cv_proceed;
mutex_t mutex_proceed;
mutex_t file_lock;
cond_t file_cond;
int file_go;
} SimCmd;
#define TOKEN_LENGTH 1024
/*
* Simulation Control Functions
*/
void stop_simulation(SimCmd *);
void quit_simulation(void);
#endif