Annotation of qemu/roms/openbios/include/config.h, revision 1.1

1.1     ! root        1: /*
        !             2:  *   Creation Date: <2003/12/20 00:07:16 samuel>
        !             3:  *   Time-stamp: <2004/01/19 17:40:26 stepan>
        !             4:  *
        !             5:  *     <config.h>
        !             6:  *
        !             7:  *
        !             8:  *
        !             9:  *   Copyright (C) 2003, 2004 Samuel Rydh ([email protected])
        !            10:  *
        !            11:  *   This program is free software; you can redistribute it and/or
        !            12:  *   modify it under the terms of the GNU General Public License
        !            13:  *   version 2
        !            14:  *
        !            15:  */
        !            16: 
        !            17: #ifndef _H_CONFIG
        !            18: #define _H_CONFIG
        !            19: 
        !            20: #include "autoconf.h"
        !            21: #include "mconfig.h"
        !            22: #include "asm/types.h"
        !            23: 
        !            24: #define PROGRAM_NAME "OpenBIOS"
        !            25: 
        !            26: #ifndef BOOTSTRAP
        !            27: 
        !            28: #ifndef NULL
        !            29: #define        NULL            ((void*)0)
        !            30: #endif
        !            31: 
        !            32: typedef unsigned int   size_t;
        !            33: typedef unsigned int   usize_t;
        !            34: typedef signed int     ssize_t;
        !            35: typedef signed int     off_t;
        !            36: 
        !            37: typedef unsigned int   time_t;
        !            38: 
        !            39: #define UINT_MAX       ((unsigned int)-1)
        !            40: 
        !            41: #define ENOMEM         1
        !            42: #define EIO            2
        !            43: #define EINVAL         3
        !            44: #define ENOENT         4
        !            45: #define ENOTDIR                5
        !            46: #define EISDIR         6
        !            47: #define ENAMETOOLONG   7
        !            48: 
        !            49: #define SEEK_CUR       1
        !            50: #define SEEK_SET       2
        !            51: #define SEEK_END       3
        !            52: 
        !            53: #endif /* BOOTSTRAP */
        !            54: 
        !            55: #include "sysinclude.h"
        !            56: 
        !            57: #ifndef MIN
        !            58: #define MIN(x,y)       (((x) < (y)) ? (x) : (y))
        !            59: #define MAX(x,y)       (((x) > (y)) ? (x) : (y))
        !            60: #endif
        !            61: 
        !            62: /* errno is a macro on some systems, which might cause nasty problems.
        !            63:  * We try to cope with this here.
        !            64:  */
        !            65: #undef errno
        !            66: #define errno errno_int
        !            67: 
        !            68: #endif   /* _H_CONFIG */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.