Files
Deshab-OS/CODE/sdk/include/deshab/boot_log.h
T
2026-08-29 18:47:54 +08:00

16 lines
455 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* deshab/boot_log.h — SDK 侧 boot log 绑定(见 CODE/tools/boot_log.h) */
#ifndef DESHAB_BOOT_LOG_H
#define DESHAB_BOOT_LOG_H
#include "../../tools/boot_log.h"
#include "boot_context.h"
static inline void dsb_bootlog_bind(dsb_boot_log_info **slot, const dsk_boot_context *ctx) {
boot_log_bind((boot_log_info **)slot, ctx ? ctx->utsm_state : 0);
}
/* 兼容别名 */
typedef boot_log_info dsb_boot_log_info;
#endif /* DESHAB_BOOT_LOG_H */