add new cpu state CPU_STATUS_RESERVED

This commit is contained in:
Tomoki Shirasawa
2015-02-18 13:46:08 +09:00
parent bb137bc9bb
commit c0edb6fe6f
5 changed files with 21 additions and 16 deletions

View File

@ -30,6 +30,7 @@ struct malloc_header {
#define CPU_STATUS_DISABLE (0)
#define CPU_STATUS_IDLE (1)
#define CPU_STATUS_RUNNING (2)
#define CPU_STATUS_RESERVED (3)
extern ihk_spinlock_t cpu_status_lock;
#define CPU_FLAG_NEED_RESCHED 0x1U