$NetBSD: patch-ae,v 1.1.1.1 2003/04/29 09:22:28 thomasklausner Exp $ --- /dev/null 2003-04-28 11:19:21.000000000 +0100 +++ src/installers/80x86/netbsd/config.h 2003-04-28 11:13:03.000000000 +0100 @@ -0,0 +1,137 @@ +/* + Crown Copyright (c) 1997 + + This TenDRA(r) Computer Program is subject to Copyright + owned by the United Kingdom Secretary of State for Defence + acting through the Defence Evaluation and Research Agency + (DERA). It is made available to Recipients with a + royalty-free licence for its use, reproduction, transfer + to other parties and amendment for any purpose not excluding + product development provided that any such use et cetera + shall be deemed to be acceptance of the following conditions:- + + (1) Its Recipients shall ensure that this Notice is + reproduced upon any copies or amended versions of it; + + (2) Any amended version of it shall be clearly marked to + show both the nature of and the organisation responsible + for the relevant amendment or amendments; + + (3) Its onward transfer from a recipient to another + party shall be deemed to be that party's acceptance of + these conditions; + + (4) DERA gives no warranty or assurance as to its + quality or suitability for any purpose and DERA accepts + no liability whatsoever in relation to any use to which + it may be put. +*/ + + +/* netbsd/config.h */ + +#ifndef config_key +#define config_key 1 + + +/* API SPECIFICATION */ +#include "ossg_api.h" +#include "ossg.h" + +#ifndef FS_LITTLE_ENDIAN +#define FS_LITTLE_ENDIAN 1 +#endif + + +#define isvax 0 +#define ismips 0 +#define is68000 0 +#define is80x86 1 +#define ispower 0 +#define issparc 0 +#define istrans 0 +#define ishppa 0 +#define isAlpha 0 + +#define issco 0 +#define issol86 0 +#define islinux 0 +#define isnetbsd 1 +#define remove_struct_ref 1 + +#define has_setcc 1 +#define little_end 1 +#define has_byte_regs 1 +#define has_byte_ops 1 +#define only_lengthen_ops 1 +#define has_neg_shift 0 +#define regable_union 0 +#define substitute_params 1 +#define special_fns 1 +#define shift_is_byte 1 +#define only_inline_static 0 +#define remove_zero_offsets 1 +#define replace_compound 1 +#define no_bitfield_ops 1 +#define dont_unpad_apply 0 +#define diagnose_registers 1 +#define DWARF 0 +#define load_ptr_pars 1 +#define use_long_double 1 +#define has64bits 1 +#define keep_PIC_vars 0 +#define div0_implemented 1 +#define do_case_transforms 1 +#define substitute_complex 1 +#define has_rotate 1 +#define GCC_STRUCTS 1 + + +#define maxmin_implemented 1 +#define condassign_implemented 0 + +#define target_dbl_maxexp 308 + +#define check_shape 1 +#define value_of_null 0 +#define no_trap_on_nil_contents 1 + +#define prefix_length 1 /* strlen(name_prefix) */ +#define AVOID_INTOV 0 /* No software interrupts */ +#define normal_fpucon 0x1272 + + +/* Parameters for foralls optimisations */ + +#define remove_unused_counters 0 +#define remove_unused_index_counters 0 +#define good_index_factor(f) 0 +#define good_pointer_factor(f) ((f) != 1 && (f) != 2 && (f) != 4 && (f) != 8) + +/* Parameters for TDF->TDF case_optimisation */ + +#define jump_table_density 10 /* between 0 and 100 */ + +/* jump_table density is the percentage of entries which must be filled + * in a jump table in order for it to be created + * So 0 would try to make everything into a jump table whereas 100 + * would mean only full jump tables could be put out + */ + +#define non_default_entries 4 /* a positive integer */ + +/* non_default_entries is the minimum number of non default entries a + * jump table can contain + */ + +#define non_default_destinations 2 /* a positive integer */ + +/* non_default_destinations is the minimum number of non default destinations + * a jump table can contain + */ + + + +#define temp_mips 0 + +#endif