/kernel/branches/flat_kernel/core/sched.inc |
---|
214,16 → 214,6 |
ret |
; |
; shl ebx, 3 |
; xor eax, eax |
; add ebx, tss0 |
; mov [far_jump.sel], bx ; selector |
; mov [far_jump.offs], eax ; offset |
; jmp pword [far_jump] |
; inc [context_counter] ;noname & halyavin |
;ret |
align 4 |
updatecputimes: |
244,6 → 234,23 |
if 0 |
struc TIMER |
{ |
.next dd ? |
.exp_time dd ? |
.func dd ? |
.arg dd ? |
} |
MAX_PROIRITY 0 ; highest, used for kernel tasks |
MAX_USER_PRIORITY 0 ; highest priority for user processes |
USER_PRIORITY 7 ; default (should correspond to nice 0) |