MCPcopy Create free account
hub / github.com/coreboot/coreboot / print_no_modules_selected

Function print_no_modules_selected

payloads/coreinfo/coreinfo.c:208–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208static void print_no_modules_selected(void)
209{
210 int height = getmaxy(stdscr);
211
212 for (size_t i = 0; i < ARRAY_SIZE(categories); i++)
213 if (categories[i].count > 0)
214 return;
215
216 color_set(2, NULL); // White on black
217 center(height / 2, "No modules selected");
218}
219
220static int first_nonempty_category(void)
221{

Callers 1

loopFunction · 0.85

Calls 3

getmaxyFunction · 0.85
color_setFunction · 0.85
centerFunction · 0.85

Tested by

no test coverage detected