#include "types.h"#include "defs.h"#include "param.h"#include "mmu.h"#include "proc.h"#include "x86.h"#include "traps.h"#include "spinlock.h"Go to the source code of this file.
Functions | |
| void | tvinit (void) |
| void | idtinit (void) |
| void | trap (struct trapframe *tf) |
Variables | |
| struct gatedesc | idt [256] |
| uint | vectors [] |
| struct spinlock | tickslock |
| int | ticks |
| void trap | ( | struct trapframe * | tf | ) |
Definition at line 35 of file trap.c.
References acquire(), cprintf(), trapframe::cs, DPL_USER, trapframe::eip, trapframe::err, exit(), ideintr(), IRQ_COM1, IRQ_IDE, IRQ_KBD, IRQ_SPURIOUS, IRQ_TIMER, kbdintr(), lapiceoi(), panic(), release(), RUNNING, syscall(), T_IRQ0, T_SYSCALL, ticks, tickslock, trapframe::trapno, uartintr(), wakeup(), and yield().
| void tvinit | ( | void | ) |
| int ticks |
1.5.6