home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (c) 1995 Mark Brinicombe.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Mark Brinicombe.
- * 4. The name of the company nor the name of the author may be used to
- * endorse or promote products derived from this software without specific
- * prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
- * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * RiscBSD kernel project
- *
- * config.h
- *
- * Definitions of various config structures and symbols
- *
- * Created : 26/04/95
- * Last updated : 13/07/96
- */
-
- #ifndef __config_h
- #define __config.h
-
- #include "Wimp.h"
-
- #define FILETYPE_DOS 0xfe4
- #define FILETYPE_UNIX 0xfe6
- #define FILETYPE_DATA 0xffd
- #define FILETYPE_OBEY 0xfeb
-
- typedef struct _Config {
- char kernel[256];
- char root_dev[16];
- char swap_dev[16];
- char screenmode[20];
- char other[256];
- int max_proc;
- int ramdisc;
- int flags;
- int cpu_flags;
- int video_dram;
- int pmap_debug_level;
- } Config;
-
- #define FLAG_SINGLE 0x001
- #define FLAG_KGDB 0x002
- #define FLAG_PMAP_DEBUG 0x004
- #define FLAG_TERMDEBUG 0x010
- #define FLAG_NATIVE 0x020
- #define FLAG_SYMTAB 0x040
- #define FLAG_DDBBOOT 0x080
-
- #define CPU_FLAG_NOCACHE 0x01
- #define CPU_FLAG_NOWRTBUF 0x02
- #define CPU_FLAG_NOFPA 0x04
- #define CPU_FLAG_FPA_CLK2 0x08
-
- #define CONFIG_FILENAME "<BtRiscBSD$dir>.Config"
- #define FASTBOOT_FILENAME "<BtRiscBSD$dir>.fastboot"
-
- #define NATIVE_DIRECTORY "<BtRiscBSD$Dir>.native"
- #define BOOTLOADER_FILENAME "<BtRiscBSD$Dir>.Booter.BtRiscBSD"
- #define NATIVE_SUPPORT "<BtRiscBSD$Dir>.native.unixfs_res"
- #endif
-
- /* End of config.h */
-