git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
feat: No more kernel page table switching upon interrupt.
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
sched.h
1
#ifndef __LUNAIX_SCHEDULER_H
2
#define __LUNAIX_SCHEDULER_H
3
4
#define SCHED_TIME_SLICE 300
5
6
struct scheduler {
7
struct proc_info* _procs;
8
int procs_index;
9
unsigned int ptable_len;
10
};
11
12
void sched_init();
13
void schedule();
14
15
#endif /* __LUNAIX_SCHEDULER_H */