Add stack frame to panic
This commit is contained in:
parent
b337e5193b
commit
cfcb806ebf
16 changed files with 169 additions and 103 deletions
|
|
@ -126,10 +126,14 @@ void ap_apic_init(){
|
|||
}
|
||||
|
||||
void apic_timer_handler(){
|
||||
//kprintf("hii\n");
|
||||
|
||||
lapic_write_reg(LAPIC_EOI_REG, 0);
|
||||
|
||||
if(get_cpu_struct_initialized()){
|
||||
get_cpu_struct()->lapic_timer_ticks++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void apic_send_ipi(uint8_t dest_field, uint8_t dest_shorthand, uint8_t trigger, uint8_t level, uint8_t status, uint8_t destination, uint8_t delivery_mode, uint8_t vector){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue