kernel: Restore logical processor disabling

This commit is contained in:
Pawel Dziepak
2013-11-24 22:51:07 +01:00
parent a04b7d9f96
commit 03f7d3d1db
6 changed files with 234 additions and 33 deletions
+2
View File
@@ -83,6 +83,8 @@ status_t scheduler_set_operation_mode(scheduler_mode mode);
*/
void scheduler_dump_thread_data(Thread* thread);
void scheduler_set_cpu_enabled(int32 cpu, bool enabled);
void scheduler_add_listener(struct SchedulerListener* listener);
void scheduler_remove_listener(struct SchedulerListener* listener);
+2
View File
@@ -87,6 +87,8 @@ status_t thread_preboot_init_percpu(struct kernel_args *args, int32 cpuNum);
void thread_yield(void);
void thread_exit(void);
void thread_map(void (*function)(Thread* thread, void* data), void* data);
int32 thread_max_threads(void);
int32 thread_used_threads(void);