From 5ab488739184f2b2649193e3f9da695ee334d04f Mon Sep 17 00:00:00 2001 From: Doug Gilbert Date: Mon, 26 Sep 2011 13:36:33 -0500 Subject: new HEAP manager to reduce fragmentation Change-Id: Ibe725a43e6366d9113ec99df1cc6aafa7bbb770e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/431 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III Reviewed-by: Douglas R. Gilbert --- src/include/kernel/cpu.H | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/include/kernel/cpu.H') diff --git a/src/include/kernel/cpu.H b/src/include/kernel/cpu.H index ac09da288..f308fb4be 100644 --- a/src/include/kernel/cpu.H +++ b/src/include/kernel/cpu.H @@ -58,10 +58,13 @@ struct cpu_t struct { /** If the CPU is the master */ - bool master; + bool master:1; + + /** If the CPU is active */ + bool active:1; /** Ensure alignment of master attribute for asm code. */ - uint64_t __reserved_master:24; + uint64_t __reserved_master:30; } PACKED; /** Pointer to the scheduler for this CPU (may not be unique) */ -- cgit v1.2.1