home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_beta / upgrades / bootloader / !BtRiscBSD_h_config < prev    next >
Encoding:
Text File  |  1996-02-26  |  2.9 KB  |  89 lines

  1. /*
  2.  * Copyright (c) 1995 Mark Brinicombe.
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution and use in source and binary forms, with or without
  6.  * modification, are permitted provided that the following conditions
  7.  * are met:
  8.  * 1. Redistributions of source code must retain the above copyright
  9.  *    notice, this list of conditions and the following disclaimer.
  10.  * 2. Redistributions in binary form must reproduce the above copyright
  11.  *    notice, this list of conditions and the following disclaimer in the
  12.  *    documentation and/or other materials provided with the distribution.
  13.  * 3. All advertising materials mentioning features or use of this software
  14.  *    must display the following acknowledgement:
  15.  *    This product includes software developed by Mark Brinicombe.
  16.  * 4. The name of the company nor the name of the author may be used to
  17.  *    endorse or promote products derived from this software without specific
  18.  *    prior written permission.
  19.  *
  20.  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
  21.  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  22.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  23.  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  24.  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  25.  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  26.  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  27.  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  28.  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
  29.  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  30.  *
  31.  * RiscBSD kernel project
  32.  *
  33.  * config.h
  34.  *
  35.  * Definitions of various config structures and symbols
  36.  *
  37.  * Created      : 26/04/95
  38.  * Last updated : 24/02/96
  39.  */
  40.  
  41. #ifndef __config_h
  42. #define __config.h
  43.  
  44. #include "Wimp.h"
  45.  
  46. #define FILETYPE_DOS  0xfe4
  47. #define FILETYPE_UNIX 0xfe6
  48. #define FILETYPE_DATA 0xffd
  49. #define FILETYPE_OBEY 0xfeb
  50.  
  51. typedef struct _Config {
  52.     char kernel[256];
  53.     char root_dev[16];
  54.     char swap_dev[16];
  55.     char screenmode[20];
  56.     char other[256];
  57.     int max_proc;
  58.     int ramdisc;
  59.     int flags;
  60.     int cpu_flags;
  61.     int video_dram;
  62.     int pmap_debug_level;
  63.     int kmodule;
  64. } Config;
  65.  
  66. #define FLAG_SINGLE    0x01
  67. #define FLAG_KGDB    0x02
  68. #define FLAG_PMAP_DEBUG    0x04
  69. #define FLAG_KMODULE    0x08
  70. #define FLAG_TERMDEBUG    0x10
  71. #define FLAG_NATIVE    0x20
  72. #define FLAG_SYMTAB    0x40
  73. #define FLAG_DDBBOOT    0x80
  74.  
  75. #define CPU_FLAG_NOCACHE  0x01
  76. #define CPU_FLAG_NOWRTBUF 0x02
  77. #define CPU_FLAG_NOFPA    0x04
  78. #define CPU_FLAG_FPA_CLK2 0x08
  79.  
  80. #define CONFIG_FILENAME     "<BtRiscBSD$dir>.Config"
  81. #define FASTBOOT_FILENAME   "<BtRiscBSD$dir>.fastboot"
  82.  
  83. #define NATIVE_DIRECTORY    "<BtRiscBSD$Dir>.native"
  84. #define BOOTLOADER_FILENAME "<BtRiscBSD$Dir>.Booter.BtRiscBSD"
  85. #define NATIVE_SUPPORT      "<BtRiscBSD$Dir>.native.ufs_load"
  86. #endif
  87.  
  88. /* End of config.h */
  89.