void post_code(uint8_t value) { #if !IS_ENABLED(CONFIG_NO_POST) #if IS_ENABLED(CONFIG_CONSOLE_POST) printk(BIOS_EMERG, "POST: 0x%02x\n", value); #endif #if IS_ENABLED(CONFIG_CMOS_POST) cmos_post_code(value); #endif #if IS_ENABLED(CONFIG_POST_IO) outb(value, CONFIG_POST_IO_PORT); #endif #endif mainboard_post(value); }
void post_code(uint8_t value) { #if !CONFIG_NO_POST #if CONFIG_CONSOLE_POST printk(BIOS_EMERG, "POST: 0x%02x\n", value); #endif #if CONFIG_CMOS_POST cmos_post_code(value); #endif #if CONFIG_POST_IO outb(value, CONFIG_POST_IO_PORT); #endif #endif mainboard_post(value); }
void post_code(uint8_t value) { #if !IS_ENABLED(CONFIG_NO_POST) #if IS_ENABLED(CONFIG_CONSOLE_POST) #if CONFIG_DIE_CONSOLE_LOGLEVEL >= 0 printk(CONFIG_DEFAULT_CONSOLE_LOGLEVEL,"POST: 0x%02x\n", value); #else print_emerg("POST: 0x"); print_emerg_hex8(value); print_emerg("\n"); #endif #endif #if IS_ENABLED(CONFIG_CMOS_POST) cmos_post_code(value); #endif #if IS_ENABLED(CONFIG_POST_IO) outb(value, CONFIG_POST_IO_PORT); #endif #endif mainboard_post(value); }