WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
log_memory_section.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2018-2020. All rights reserved.
3 * Description: LOG MEMORY SECTION INTERFACE
4 */
5
6#ifndef NON_OS_LOG_MEMORY_SECTION_H
7#define NON_OS_LOG_MEMORY_SECTION_H
8
10
18typedef struct {
19 uint8_t *start;
20 uint32_t length;
22
29
36
38#define pointer_in_log_memory_region(x) (((uint32_t)(x) >= (LOGGING_REGION_START)) && \
39 ((uint32_t)(x) <= ((LOGGING_REGION_START) + (LOGGING_REGION_LENGTH))))
40
44#endif
log_memory_region_section_t
LOG MEMORY REGIONS
Definition log_memory_definitions.h:20
void log_memory_section_get(log_memory_region_section_t section, log_memory_section_params_t *section_data)
get the section data for a given region
Definition log_memory_section.c:11
log_memory_section_control_t * log_memory_section_get_control(log_memory_region_section_t section)
Get a pointer to the section control for a given log memory section
Definition log_memory_section.c:31
Log memory control structure for every section
Definition log_memory_definitions.h:49
Log memory section parameters
Definition log_memory_section.h:18
uint32_t length
Definition log_memory_section.h:20
uint8_t * start
Definition log_memory_section.h:19