亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? libexo.h.svn-base

?? 模擬多核狀態(tài)下龍芯處理器的功能
?? SVN-BASE
字號:
/*
 * libexo.h - EXO library interfaces (NEVER write another scanf()!)
 *
 * This file is a part of the SimpleScalar tool suite written by
 * Todd M. Austin as a part of the Multiscalar Research Project.
 *
 * The tool suite is currently maintained by Doug Burger and Todd M. Austin.
 *
 * Copyright (C) 1997 by Todd M. Austin
 *
 * This source file is distributed "as is" in the hope that it will be
 * useful.  The tool set comes with no warranty, and no author or
 * distributor accepts any responsibility for the consequences of its
 * use. 
 *
 * Everyone is granted permission to copy, modify and redistribute
 * this tool set under the following conditions:
 *
 *    This source code is distributed for non-commercial use only. 
 *    Please contact the maintainer for restrictions applying to 
 *    commercial use.
 *
 *    Permission is granted to anyone to make or distribute copies
 *    of this source code, either as received or modified, in any
 *    medium, provided that all copyright notices, permission and
 *    nonwarranty notices are preserved, and that the distributor
 *    grants the recipient permission for further redistribution as
 *    permitted by this document.
 *
 *    Permission is granted to distribute this file in compiled
 *    or executable form under the same conditions that apply for
 *    source code, provided that either:
 *
 *    A. it is accompanied by the corresponding machine-readable
 *       source code,
 *    B. it is accompanied by a written offer, with no time limit,
 *       to give anyone a machine-readable copy of the corresponding
 *       source code in return for reimbursement of the cost of
 *       distribution.  This written offer must permit verbatim
 *       duplication by anyone, or
 *    C. it is distributed by someone who received only the
 *       executable form, and is accompanied by a copy of the
 *       written offer of source code that they received concurrently.
 *
 * In other words, you are welcome to use, share and improve this
 * source file.  You are forbidden to forbid anyone else to use, share
 * and improve what you give them.
 *
 * INTERNET: dburger@cs.wisc.edu
 * US Mail:  1210 W. Dayton Street, Madison, WI 53706
 *
 * $Id: libexo.h,v 1.1.1.1 2006/09/08 09:21:43 cvsuser Exp $
 *
 * $Log: libexo.h,v $
 * Revision 1.1.1.1  2006/09/08 09:21:43  cvsuser
 * Godson-3 simulator
 *
 * Revision 1.1  2005/01/27 03:18:24  fxzhang
 * create godson2 cvs
 *
 * Revision 1.2  2005/01/27 03:14:38  fxzhang
 * tmp
 *
 * Revision 1.1.1.1  2004/12/05 14:36:29  fxzhang
 * initial import of ss-mips
 *
 * Revision 1.1  2002/09/05 20:26:15  twenisch
 * Simple-Scalar 3.0c.  Changelogs removed.
 *
 *
 *
 */

/*
 * EXO(-skeletal) definitions:
 *
 *   The EXO format is used to store and retrieve data structures from text
 *   files.  The following BNF definition defines the contents of an EXO file:
 *
 *	<exo_file>	:= <exo_term>
 *
 *	<exo_term>	:= <exo_term_list>
 *			   | INTEGER
 *			   | FLOAT
 *			   | CHAR
 *			   | STRING
 *
 *	<exo_term_list>	:= (<exo_term_list> ',' <exo_term>)
 *			   | <exo_term>
 */

#ifndef EXO_H
#define EXO_H

#include "../host.h"
#include "../misc.h"
#include "../mips.h"

/* EXO file format versions */
#define EXO_FMT_MAJOR		1
#define EXO_FMT_MINOR		0

/* EXO term classes, keep this in sync with EXO_CLASS_STR */
enum exo_class_t {
  ec_integer,			/* EXO int value */
  ec_address,			/* EXO address value */
  ec_float,			/* EXO FP value */
  ec_char,			/* EXO character value */
  ec_string,			/* EXO string value */
  ec_list,			/* EXO list */
  ec_array,			/* EXO array */
  ec_token,			/* EXO token value */
  ec_blob,			/* EXO blob (Binary Large OBject) */
  ec_null,			/* used internally */
  ec_NUM
};

/* EXO term classes print strings */
extern char *exo_class_str[ec_NUM];

/* EXO token table entry */
struct exo_token_t {
  struct exo_token_t *next;	/* next element in a hash buck chain */
  char *str;			/* token string */
  int token;			/* token value */
};

struct exo_term_t {
  struct exo_term_t *next;	/* next element, when in a list */
  enum exo_class_t ec;		/* term node class */
  union {
    struct as_integer_t {
      exo_integer_t val;		/* integer value */
    } as_integer;
    struct as_address_t {
      exo_address_t val;		/* address value */
    } as_address;
    struct as_float_t {
      exo_float_t val;			/* floating point value */
    } as_float;
    struct as_char_t {
      char val;				/* character value */
    } as_char;
    struct as_string_t {
      unsigned char *str;		/* string value */
    } as_string;
    struct as_list_t {
      struct exo_term_t *head;		/* list head pointer */
    } as_list;
    struct as_array_t {
      int size;				/* size of the array */
      struct exo_term_t **array;	/* list head pointer */
    } as_array;
    struct as_token_t {
      struct exo_token_t *ent;		/* token table entry */
    } as_token;
    struct as_blob_t {
      int size;				/* byte size of object */
      unsigned char *data;		/* pointer to blob data */
    } as_blob;
  } variant;
};
/* short-cut accessors */
#define as_integer	variant.as_integer
#define as_address	variant.as_address
#define as_float	variant.as_float
#define as_char		variant.as_char
#define as_string	variant.as_string
#define as_list		variant.as_list
#define as_array	variant.as_array
#define as_token	variant.as_token
#define as_blob		variant.as_blob

/* EXO array accessor, may be used as an L-value or R-value */
/* EXO array accessor, may be used as an L-value or R-value */
#define EXO_ARR(E,N)							\
  ((E)->ec != ec_array							\
   ? (fatal("not an array"), *(struct exo_term_t **)(NULL))		\
   : ((N) >= (E)->as_array.size						\
      ? (fatal("array bounds error"), *(struct exo_term_t **)(NULL))	\
      : (E)->as_array.array[(N)]))
#define SET_EXO_ARR(E,N,V)						\
  ((E)->ec != ec_array							\
   ? (void)fatal("not an array")					\
   : ((N) >= (E)->as_array.size						\
      ? (void)fatal("array bounds error")				\
      : (void)((E)->as_array.array[(N)] = (V))))

/* intern token TOKEN_STR */
struct exo_token_t *
exo_intern(char *token_str);		/* string to intern */

/* intern token TOKEN_STR as value TOKEN */
struct exo_token_t *
exo_intern_as(char *token_str,		/* string to intern */
	      int token);		/* internment value */

/*
 * create a new EXO term, usage:
 *
 *	exo_new(ec_integer, (exo_integer_t)<int>);
 *	exo_new(ec_address, (exo_address_t)<int>);
 *	exo_new(ec_float, (exo_float_t)<float>);
 *	exo_new(ec_char, (int)<char>);
 *      exo_new(ec_string, "<string>");
 *      exo_new(ec_list, <list_ent>..., NULL);
 *      exo_new(ec_array, <size>, <array_ent>..., NULL);
 *	exo_new(ec_token, "<token>");
 *	exo_new(ec_blob, <size>, <data_ptr>);
 */
struct exo_term_t *
exo_new(enum exo_class_t ec, ...);

/* release an EXO term */
void
exo_delete(struct exo_term_t *exo);

/* chain two EXO lists together, FORE is attached on the end of AFT */
struct exo_term_t *
exo_chain(struct exo_term_t *fore, struct exo_term_t *aft);

/* copy an EXO node */
struct exo_term_t *
exo_copy(struct exo_term_t *exo);

/* deep copy an EXO structure */
struct exo_term_t *
exo_deepcopy(struct exo_term_t *exo);

/* print an EXO term */
void
exo_print(struct exo_term_t *exo, FILE *stream);

/* read one EXO term from STREAM */
struct exo_term_t *
exo_read(FILE *stream);

/* lexor components */
enum lex_t {
  lex_integer = 256,
  lex_address,
  lex_float,
  lex_char,
  lex_string,
  lex_token,
  lex_byte,
  lex_eof
};

#endif /* EXO_H */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
偷拍亚洲欧洲综合| 亚洲视频在线观看一区| 日日噜噜夜夜狠狠视频欧美人| 99国内精品久久| 日韩美女视频一区二区| 91天堂素人约啪| 亚洲自拍欧美精品| 制服.丝袜.亚洲.另类.中文 | 国产福利不卡视频| 久久天堂av综合合色蜜桃网| 久久99精品国产.久久久久久| 精品不卡在线视频| 成人精品免费网站| 一片黄亚洲嫩模| 91精品国产综合久久小美女| 蜜臀av性久久久久蜜臀aⅴ| 久久综合色天天久久综合图片| 国产99一区视频免费| 亚洲另类春色国产| 51久久夜色精品国产麻豆| 国产一区二区三区在线观看精品 | 日本亚洲三级在线| 久久亚洲影视婷婷| 色婷婷综合久久久| 日本欧美一区二区三区| 国产婷婷一区二区| 欧美色大人视频| 久久精品免费观看| 亚洲老妇xxxxxx| 欧美成人一区二区三区在线观看| 国v精品久久久网| 午夜久久久久久电影| 国产欧美综合在线| 欧美日韩在线免费视频| 国产乱妇无码大片在线观看| 亚洲精品写真福利| 久久久蜜桃精品| 欧美日韩成人一区二区| 国产91精品一区二区| 亚洲一区二区欧美激情| 久久久久久毛片| 欧美精品久久一区二区三区| 国产高清精品网站| 天堂一区二区在线免费观看| 国产精品久久毛片av大全日韩| 91精品啪在线观看国产60岁| 91在线观看高清| 国产在线国偷精品免费看| 一区二区三区欧美日韩| 国产日韩精品一区二区三区| 91精品国产91综合久久蜜臀| 99精品视频免费在线观看| 久草在线在线精品观看| 亚洲mv大片欧洲mv大片精品| ㊣最新国产の精品bt伙计久久| 精品日产卡一卡二卡麻豆| 欧美日韩精品欧美日韩精品一| 99久久国产综合精品女不卡| 国产精品资源在线看| 日韩 欧美一区二区三区| 亚洲精品国久久99热| 中文字幕欧美国产| 久久久精品黄色| 欧美岛国在线观看| 91精品国产入口| 这里只有精品99re| 欧美日韩久久久一区| 在线免费亚洲电影| 一本到三区不卡视频| 成人av免费在线| 成人毛片视频在线观看| 国产精一品亚洲二区在线视频| 久久国产综合精品| 蜜臀av性久久久久蜜臀aⅴ流畅 | 久久精品理论片| 蜜桃视频一区二区| 奇米四色…亚洲| 毛片av中文字幕一区二区| 日韩1区2区日韩1区2区| 蜜桃免费网站一区二区三区| 日韩不卡一二三区| 老司机精品视频在线| 免费人成在线不卡| 久久精品国产99国产精品| 久久国产福利国产秒拍| 国产自产高清不卡| 国产成人亚洲综合a∨猫咪| 国产成人精品www牛牛影视| 国产福利不卡视频| www.亚洲激情.com| 色综合视频在线观看| 欧美日韩一卡二卡三卡| 91精品国产综合久久久久| 日韩欧美一二三四区| 久久免费美女视频| 国产精品久久久99| 亚洲美女偷拍久久| 午夜精品一区二区三区免费视频| 日韩影视精彩在线| 久草中文综合在线| av在线这里只有精品| 在线观看中文字幕不卡| 91精品国产入口在线| 久久久久久亚洲综合| 自拍偷拍国产亚洲| 日韩精品电影一区亚洲| 美脚の诱脚舐め脚责91| 成人毛片视频在线观看| 欧美性色aⅴ视频一区日韩精品| 91精品国产一区二区| 国产午夜精品久久久久久久| 一区二区三区在线影院| 免费人成在线不卡| www.日本不卡| 91精品国产综合久久久久久漫画 | 97精品久久久久中文字幕 | 亚洲视频综合在线| 日韩成人一区二区三区在线观看| 国产成人精品免费网站| 欧美亚洲日本国产| 久久亚洲免费视频| 亚洲精品乱码久久久久| 国产综合久久久久久鬼色| 色综合久久久久久久| 精品99久久久久久| 亚洲男人电影天堂| 国内偷窥港台综合视频在线播放| 色诱亚洲精品久久久久久| 日韩欧美激情四射| 亚洲色图制服丝袜| 国产一区 二区| 欧美丝袜第三区| 欧美国产精品久久| 蜜臀精品久久久久久蜜臀| www.久久久久久久久| 精品国产制服丝袜高跟| 夜夜嗨av一区二区三区| 国产成人亚洲精品狼色在线| 日韩一区二区三区四区五区六区| 亚洲丝袜自拍清纯另类| 国产成人精品www牛牛影视| 91精品国产一区二区三区蜜臀| 亚洲人成电影网站色mp4| 韩国一区二区三区| 日韩一级大片在线观看| 亚洲国产精品久久一线不卡| 99视频国产精品| 久久精品一级爱片| 日本成人中文字幕在线视频 | 国产成人精品一区二区三区四区| 欧美美女一区二区三区| 亚洲理论在线观看| 97久久超碰国产精品电影| 欧美激情一二三区| 美脚の诱脚舐め脚责91| 在线播放/欧美激情| 亚洲五码中文字幕| 日本精品一级二级| 综合电影一区二区三区 | 91麻豆精东视频| 国产精品久久久久桃色tv| 国产老肥熟一区二区三区| 精品电影一区二区三区 | 一区二区三区四区在线| 成人性生交大合| 国产精品区一区二区三| 国产69精品久久777的优势| 26uuu色噜噜精品一区| 免费在线观看视频一区| 欧美一级生活片| 男人的天堂亚洲一区| 日韩亚洲欧美在线| 久久99国产精品尤物| 日韩精品一区二区在线| 国产真实精品久久二三区| 久久综合狠狠综合久久激情| 国内精品视频一区二区三区八戒| 欧美大片拔萝卜| 国产一区二区三区香蕉| 国产欧美日韩在线看| 高清在线不卡av| 国产精品成人免费| 色婷婷久久久久swag精品 | 成人免费电影视频| 亚洲婷婷在线视频| 色婷婷综合久久久中文一区二区| 亚洲成av人片一区二区| 欧美一区二区三区在线视频| 免费不卡在线视频| 久久久国产一区二区三区四区小说 | 欧美国产精品久久| 日本电影亚洲天堂一区| 日韩精品91亚洲二区在线观看| 欧美电视剧在线观看完整版| 国产91丝袜在线播放九色| 亚洲日本免费电影| 51精品国自产在线| 韩国理伦片一区二区三区在线播放| 国产欧美一区在线| 欧美在线免费观看亚洲|