FU
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/* 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 */
|
||||
@@ -117,6 +117,7 @@ typedef struct dkm_block_api {
|
||||
u64 (*sector_size)(u32 index);
|
||||
const char *(*device_name)(u32 index);
|
||||
int (*set_write_fn)(u32 index, dkm_block_write_fn fn);
|
||||
u64 (*sector_count)(u32 index); /* 0x38: tail-append, 与 utsm/block.h 同步 */
|
||||
} dkm_block_api;
|
||||
|
||||
/* ---- MMIO / 页表 API ----
|
||||
|
||||
Reference in New Issue
Block a user