setjmp.h File Reference

#include <stdint.h>
#include <realmode.h>

Go to the source code of this file.

Data Structures

struct  jmp_buf
 A jump buffer. More...
struct  rmjmp_buf
 A real-mode-extended jump buffer. More...

Defines

#define rmsetjmp(_env)
#define rmlongjmp(_env, _val)

Functions

 FILE_LICENCE (GPL2_OR_LATER)
int __asmcall setjmp (jmp_buf env)
void __asmcall longjmp (jmp_buf env, int val)


Define Documentation

#define rmsetjmp ( _env   ) 

Value:

( {                     \
        (_env)->rm_ss = rm_ss;                  \
        (_env)->rm_sp = rm_sp;                  \
        setjmp ( (_env)->env ); } )             \

Definition at line 29 of file setjmp.h.

Referenced by com32_exec(), and comboot_exec().

#define rmlongjmp ( _env,
_val   ) 

Value:

do {            \
        rm_ss = (_env)->rm_ss;                  \
        rm_sp = (_env)->rm_sp;                  \
        longjmp ( (_env)->env, (_val) );        \
        } while ( 0 )

Definition at line 34 of file setjmp.h.

Referenced by int20(), int21(), and int22().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

int __asmcall setjmp ( jmp_buf  env  ) 

void __asmcall longjmp ( jmp_buf  env,
int  val 
)

Referenced by aout_download(), and get_x_header().


Generated on Tue Apr 6 20:01:13 2010 for gPXE by  doxygen 1.5.7.1