Mark kernel memory global
This commit is contained in:
parent
2e575db3db
commit
9c2a45d0bf
6 changed files with 20 additions and 18 deletions
|
@ -27,10 +27,10 @@ pub unsafe fn acknowledge(irq: usize) {
|
|||
}
|
||||
|
||||
interrupt!(pit, {
|
||||
irq_trigger(0);
|
||||
// Saves CPU time by not sending IRQ event irq_trigger(0);
|
||||
|
||||
{
|
||||
const PIT_RATE: u64 = 46500044;
|
||||
const PIT_RATE: u64 = 2250286;
|
||||
|
||||
let mut offset = time::OFFSET.lock();
|
||||
let sum = offset.1 + PIT_RATE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue