/*! Set up context (normal and interrupt=kernel) */ void arch_context_init () { arch_thr_context_ss = GDT_DESCRIPTOR ( SEGM_K_DATA, GDT, PRIV_KERNEL ); arch_interrupt_stack = (void *) &system_stack [ KERNEL_STACK_SIZE ]; arch_descriptors_init (); /* GDT, IDT, ... */ }
/*! * Set up context (normal and interrupt=kernel) */ void arch_context_init () { arch_interrupt_stack = (void *) &k_stack [ KERNEL_STACK_SIZE ]; arch_descriptors_init (); /* GDT, IDT, ... */ }