X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/b6ff3c7dbab3f40d03389808d95ac27d416c35e3..45e1f8b055043e54be35462852ab6649d634da7c:/lunaix-os/includes/lunaix/sched.h?ds=sidebyside diff --git a/lunaix-os/includes/lunaix/sched.h b/lunaix-os/includes/lunaix/sched.h index f31eab5..7cb3130 100644 --- a/lunaix-os/includes/lunaix/sched.h +++ b/lunaix-os/includes/lunaix/sched.h @@ -4,13 +4,13 @@ #define SCHED_TIME_SLICE 300 #define PROC_TABLE_SIZE 8192 -#define MAX_PROCESS (PROC_TABLE_SIZE / sizeof(uintptr_t)) +#define MAX_PROCESS (PROC_TABLE_SIZE / sizeof(ptr_t)) struct scheduler { struct proc_info** _procs; int procs_index; - unsigned int ptable_len; + int ptable_len; }; void