![]() |
|
|||
0001 /* 0002 * Assembler for the sequencer program downloaded to Aic7xxx SCSI host adapters 0003 * 0004 * Copyright (c) 1997 Justin T. Gibbs. 0005 * Copyright (c) 2001, 2002 Adaptec Inc. 0006 * All rights reserved. 0007 * 0008 * Redistribution and use in source and binary forms, with or without 0009 * modification, are permitted provided that the following conditions 0010 * are met: 0011 * 1. Redistributions of source code must retain the above copyright 0012 * notice, this list of conditions, and the following disclaimer, 0013 * without modification. 0014 * 2. Redistributions in binary form must reproduce at minimum a disclaimer 0015 * substantially similar to the "NO WARRANTY" disclaimer below 0016 * ("Disclaimer") and any redistribution must be conditioned upon 0017 * including a substantially similar Disclaimer requirement for further 0018 * binary redistribution. 0019 * 3. Neither the names of the above-listed copyright holders nor the names 0020 * of any contributors may be used to endorse or promote products derived 0021 * from this software without specific prior written permission. 0022 * 0023 * Alternatively, this software may be distributed under the terms of the 0024 * GNU General Public License ("GPL") version 2 as published by the Free 0025 * Software Foundation. 0026 * 0027 * NO WARRANTY 0028 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 0029 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 0030 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 0031 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 0032 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 0033 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 0034 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 0035 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 0036 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 0037 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 0038 * POSSIBILITY OF SUCH DAMAGES. 0039 * 0040 * $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm.h#14 $ 0041 * 0042 * $FreeBSD$ 0043 */ 0044 0045 #include "../queue.h" 0046 0047 #ifndef TRUE 0048 #define TRUE 1 0049 #endif 0050 0051 #ifndef FALSE 0052 #define FALSE 0 0053 #endif 0054 0055 typedef struct path_entry { 0056 char *directory; 0057 int quoted_includes_only; 0058 SLIST_ENTRY(path_entry) links; 0059 } *path_entry_t; 0060 0061 typedef enum { 0062 QUOTED_INCLUDE, 0063 BRACKETED_INCLUDE, 0064 SOURCE_FILE 0065 } include_type; 0066 0067 SLIST_HEAD(path_list, path_entry); 0068 0069 extern struct path_list search_path; 0070 extern struct cs_tailq cs_tailq; 0071 extern struct scope_list scope_stack; 0072 extern struct symlist patch_functions; 0073 extern int includes_search_curdir; /* False if we've seen -I- */ 0074 extern char *appname; 0075 extern char *stock_include_file; 0076 extern int yylineno; 0077 extern char *yyfilename; 0078 extern char *prefix; 0079 extern char *patch_arg_list; 0080 extern char *versions; 0081 extern int src_mode; 0082 extern int dst_mode; 0083 struct symbol; 0084 0085 void stop(const char *errstring, int err_code); 0086 void include_file(char *file_name, include_type type); 0087 void expand_macro(struct symbol *macro_symbol); 0088 struct instruction *seq_alloc(void); 0089 struct critical_section *cs_alloc(void); 0090 struct scope *scope_alloc(void); 0091 void process_scope(struct scope *);
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |