I386
[Ports]


Functions

void rt_hw_pic_init ()
void rt_hw_interrupt_init (void)
void rt_hw_interrupt_umask (int vector)
void rt_hw_interrupt_mask (int vector)
void rt_hw_interrupt_install (int vector, rt_isr_handler_t new_handler, rt_isr_handler_t *old_handler)
rt_uint8 * rt_hw_stack_init (void *tentry, void *parameter, rt_uint8 *stack_addr, void *texit)
void rt_hw_idt_init (void)
void rt_hw_trap_irq (int trapno)

Detailed Description

IA-32 architecture made by Intel, which is used in desktop computer domain widely and contains:

Function Documentation

void rt_hw_idt_init ( void   ) 

this function initializes the interrupt descript table

void rt_hw_interrupt_init ( void   ) 

This function initializes interrupt descript table and 8259 interrupt controller

void rt_hw_interrupt_install ( int  vector,
rt_isr_handler_t  new_handler,
rt_isr_handler_t *  old_handler 
)

This function will install a interrupt service routine to a interrupt.

Parameters:
vector the interrupt number
new_handler the interrupt service routine to be installed
old_handler the old interrupt service routine

void rt_hw_interrupt_mask ( int  vector  ) 

This function will mask a interrupt.

Parameters:
vector the interrupt number

void rt_hw_interrupt_umask ( int  vector  ) 

This function will un-mask a interrupt.

Parameters:
vector the interrupt number

void rt_hw_pic_init (  ) 

This function initializes 8259 interrupt controller

rt_uint8* rt_hw_stack_init ( void *  tentry,
void *  parameter,
rt_uint8 *  stack_addr,
void *  texit 
)

This function will initialize thread stack

Parameters:
tentry the entry of thread
parameter the parameter of entry
stack_addr the beginning stack address
texit the function will be called when thread exit
Returns:
stack address

void rt_hw_trap_irq ( int  trapno  ) 

this function will deal with all kinds of kernel trap

Parameters:
trapno the trap number


Generated on Thu Oct 9 07:19:09 2008 for RT-Thread Kernel by  doxygen 1.5.7