Annotation of qemu/roms/openbios/include/kernel/kernel.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  *   Creation Date: <2003/12/19 00:20:11 samuel>
                      3:  *   Time-stamp: <2004/01/07 19:19:14 samuel>
                      4:  *
                      5:  *     <kernel.h>
                      6:  *
                      7:  *
                      8:  *
                      9:  *   Copyright (C) 2003, 2004 Samuel Rydh ([email protected])
                     10:  *                            Stefan Reinauer ([email protected])
                     11:  *
                     12:  *   This program is free software; you can redistribute it and/or
                     13:  *   modify it under the terms of the GNU General Public License
                     14:  *   version 2
                     15:  *
                     16:  */
                     17: 
                     18: #ifndef _H_KERNEL
                     19: #define _H_KERNEL
                     20: 
                     21: #include "kernel/stack.h"
                     22: #include "asm/io.h"
                     23: 
                     24: /* Interrupt status */
                     25: #define FORTH_INTSTAT_CLR      0x0
                     26: #define FORTH_INTSTAT_STOP     0x1
                     27: #define FORTH_INTSTAT_DBG      0x2
                     28: 
                     29: extern volatile int    interruptforth;
                     30: extern int             enterforth( xt_t xt );
                     31: extern void            panic(const char *error) __attribute__ ((noreturn));
                     32: 
                     33: extern xt_t            findword(const char *s1);
                     34: extern void            modules_init( void );
                     35: extern void            init_trampoline(ucell *t);
                     36: extern void            forth_init(void);
                     37: 
                     38: /* arch kernel hooks */
                     39: extern void            exception(cell no);
                     40: 
                     41: #ifdef FCOMPILER
                     42: extern void            include_file( const char *str );
                     43: extern void            encode_file( const char *str );
                     44: extern int             get_inputbyte( void );
                     45: extern void            put_outputbyte( int c );
                     46: #endif
                     47: 
                     48: #ifndef BOOTSTRAP
                     49: #undef putchar
                     50: #undef getchar
                     51: 
                     52: extern int             putchar( int ch );
                     53: extern int             getchar( void );
                     54: #endif
                     55: 
                     56: extern int             availchar( void );
                     57: 
                     58: #endif   /* _H_KERNEL */

unix.superglobalmegacorp.com

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