Annotation of uae/src/include/traps.h, revision 1.1

1.1     ! root        1:  /*
        !             2:   * E-UAE - The portable Amiga Emulator
        !             3:   *
        !             4:   * Support for traps
        !             5:   *
        !             6:   * Copyright Richard Drummond 2005
        !             7:   *
        !             8:   * Based on code:
        !             9:   * Copyright 1995, 1996 Bernd Schmidt
        !            10:   * Copyright 1996 Ed Hanway
        !            11:   */
        !            12: 
        !            13: #ifndef TRAPS_H
        !            14: #define TRAPS_H
        !            15: 
        !            16: #define TRAPFLAG_NO_REGSAVE  1
        !            17: #define TRAPFLAG_NO_RETVAL   2
        !            18: #define TRAPFLAG_EXTRA_STACK 4
        !            19: #define TRAPFLAG_DORET       8
        !            20: 
        !            21: /*
        !            22:  * A function which handles a 68k trap
        !            23:  */
        !            24: typedef uae_u32 (*TrapFunction) (void);
        !            25: 
        !            26: extern int deftrap2 (TrapFunction func, int mode, const char *str);
        !            27: extern int deftrap (TrapFunction);
        !            28: 
        !            29: extern uae_u32 CallLib (uaecptr base, uae_s16 offset);
        !            30: extern void call_calltrap (int nr) REGPARAM;
        !            31: 
        !            32: extern uaecptr libemu_InstallFunction (TrapFunction, uaecptr, int, const char *);
        !            33: extern uaecptr libemu_InstallFunctionFlags (TrapFunction, uaecptr, int, int, const char *);
        !            34: 
        !            35: #endif

unix.superglobalmegacorp.com

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