Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / system / blaze / include / blz_runtime.h
/*
* ========== Copyright Header Begin ==========================================
*
* OpenSPARC T2 Processor File: blz_runtime.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 ============================================
*/
#ifndef _blz_runtime_h
#define _blz_runtime_h
#pragma ident "@(#)1.1 01/08/23 blz_runtime.h"
#include "types.h"
#include "decl_macros.h"
//
// Various values blaze uses at run time.
// I (RQ) expect/intend these values to be dumped as the "runstate"
// which is why I'm making a special struct
// 6/2001
STRUCTDECL(runtime_s , runtime_t , ) {
// dir holding dirty disk data
FLDDECL(char*, disk_dirtydata_dir,,get/dump,);
};
typedef struct runtime_s runtime_t;
// export a pointer
extern runtime_t * the_runtime_ptr;
//
// Additional various globals (SL)
// I am not sure should this values be dumped or not.
// just for cleanup
//
#define FNAME_SIZE 128
typedef struct misc_runtime_s
{
bool_t startfile;
char startfn[FNAME_SIZE];
} misc_runtime_t;
extern misc_runtime_t * Pmisc_runtime;
#endif /* _blz_runtime_h */