6 static void init(unsigned);
7 static bool cpu_offline_available();
8 static int resume_cpu(unsigned cpu);
9 static int suspend_cpu(unsigned cpu);
10 static int system_suspend();
13 // ------------------------------------------------------------------------
14 IMPLEMENTATION [!cpu_suspend]:
20 Platform_control::init(unsigned)
23 IMPLEMENT inline NEEDS["l4_types.h"]
25 Platform_control::system_suspend()
26 { return -L4_err::EBusy; }
28 // ------------------------------------------------------------------------
29 IMPLEMENTATION [!cpu_suspend || !mp]:
35 Platform_control::cpu_offline_available()
38 IMPLEMENT inline NEEDS["l4_types.h"]
40 Platform_control::suspend_cpu(unsigned)
41 { return -L4_err::ENodev; }
43 IMPLEMENT inline NEEDS["l4_types.h"]
45 Platform_control::resume_cpu(unsigned)
46 { return -L4_err::ENodev; }