PKUOS - Pintos
Pintos source browser for PKU Operating System course
Typedefs | Functions | Variables
intr-stubs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void intr_stub_func(void)
 Interrupt stubs. More...
 

Functions

void intr_exit (void)
 Interrupt return path. More...
 

Variables

intr_stub_funcintr_stubs [256]
 

Typedef Documentation

◆ intr_stub_func

typedef void intr_stub_func(void)

Interrupt stubs.

These are little snippets of code in intr-stubs.S, one for each of the 256 possible x86 interrupts. Each one does a little bit of stack manipulation, then jumps to intr_entry(). See intr-stubs.S for more information.

This array points to each of the interrupt stub entry points so that intr_init() can easily find them.

Definition at line 13 of file intr-stubs.h.

Function Documentation

◆ intr_exit()

void intr_exit ( void  )

Interrupt return path.

threads/intr-stubs.h

Variable Documentation

◆ intr_stubs

intr_stub_func* intr_stubs[256]
extern

Referenced by intr_init(), and register_handler().