iPXE
Data Structures | Defines | Functions | Variables
rmsetjmp.h File Reference
#include <setjmp.h>
#include <realmode.h>

Go to the source code of this file.

Data Structures

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

Defines

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

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)

Variables

typedef __attribute__

Define Documentation

#define rmsetjmp (   _env)
Value:
( {                                     \
        (_env)->rm_stack.segment = rm_ss;                       \
        (_env)->rm_stack.offset = rm_sp;                        \
        setjmp ( (_env)->env ); } )                             \

Definition at line 17 of file rmsetjmp.h.

Referenced by com32_exec_loop(), comboot_exec_loop(), and pxe_start_nbp().

#define rmlongjmp (   _env,
  _val 
)
Value:
do {                            \
        rm_ss = (_env)->rm_stack.segment;                       \
        rm_sp = (_env)->rm_stack.offset;                        \
        longjmp ( (_env)->env, (_val) );                        \
        } while ( 0 )

Definition at line 22 of file rmsetjmp.h.

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


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

typedef __attribute__