POK(kernelpart)
/home/jaouen/pok_official/pok/trunk/kernel/arch/sparc/traps.h File Reference
#include <types.h>
#include <errno.h>

Go to the source code of this file.

Defines

#define SPARC_TRAP_IRQ_BASE   0x10
#define SPARC_TRAP_SYSCALL_BASE   0x80

Typedefs

typedef void(* sparc_traps_handler )(void)

Functions

pok_ret_t traps_init (void)

Variables

sparc_traps_handler pok_sparc_isr [256]

Detailed Description

Author:
Fabien Chouteau

Definition in file traps.h.


Define Documentation

#define SPARC_TRAP_IRQ_BASE   0x10

Definition at line 28 of file traps.h.

#define SPARC_TRAP_SYSCALL_BASE   0x80

Definition at line 29 of file traps.h.


Typedef Documentation

typedef void(* sparc_traps_handler)(void)

Definition at line 31 of file traps.h.


Function Documentation

pok_ret_t traps_init ( void  )

Initialize ISR table.

See also:
pok_sparc_isr

Definition at line 40 of file traps.c.

{
  memset((unsigned char *)pok_sparc_isr, 0x0, sizeof (pok_sparc_isr));
  return POK_ERRNO_OK;
}

Variable Documentation

Interrupt subroutine table.

Definition at line 34 of file traps.c.