WS63 SDK 文档
7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
bch_private.h
浏览该文件的文档.
1
/* ----------------------------------------------------------------------------
2
* Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
3
* Description: LiteOS bch Module Inside Headfile
4
* Author: Huawei LiteOS Team
5
* Create: 2022-07-15
6
* Redistribution and use in source and binary forms, with or without modification,
7
* are permitted provided that the following conditions are met:
8
* 1. Redistributions of source code must retain the above copyright notice, this list of
9
* conditions and the following disclaimer.
10
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
11
* of conditions and the following disclaimer in the documentation and/or other materials
12
* provided with the distribution.
13
* 3. Neither the name of the copyright holder nor the names of its contributors may be used
14
* to endorse or promote products derived from this software without specific prior written
15
* permission.
16
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
18
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
20
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
* --------------------------------------------------------------------------- */
28
29
#ifndef __INCLUDE_BCH_PRIVATE_H
30
#define __INCLUDE_BCH_PRIVATE_H
31
32
#include "
disk.h
"
33
#include <nuttx/config.h>
34
35
/****************************************************************************
36
* Public Types
37
****************************************************************************/
38
39
struct
bchlib_s;
40
struct
BchPrivate
{
41
blkcnt_t
sectStart
;
42
los_disk
*
disk
;
43
};
44
45
#if CONFIG_BCH_EXTEND_SIZE != 16
46
#error "CONFIG_BCH_EXTEND_SIZE is not equal to 16"
47
#endif
48
49
#endif
/* __INCLUDE_BCH_PRIVATE_H */
disk.h
BchPrivate
Definition
bch_private.h:40
BchPrivate::disk
los_disk * disk
Definition
bch_private.h:42
BchPrivate::sectStart
blkcnt_t sectStart
Definition
bch_private.h:41
_los_disk_
Definition
disk.h:79
src
kernel
liteos
liteos_v208.5.0
Huawei_LiteOS
fs
vfs
include
bch
bch_private.h
由
William Goodspeed
维护 | E-mail: gongzl@stu.hebust.edu.cn | Wechat: a23333344 | ALSO CHECKOUT
WS63FLASH
!
生成于 2025年 一月 4日 星期六 17:47:12 , 为 WS63 SDK 文档使用
1.9.8