mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2026-08-28 01:01:34 +00:00
rel_1.6.0 init
This commit is contained in:
commit
27b3e2883d
19359 changed files with 8093121 additions and 0 deletions
29
Living_SDK/include/hal/base.h
Normal file
29
Living_SDK/include/hal/base.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
|
||||
*/
|
||||
|
||||
#ifndef HAL_BASE_H
|
||||
#define HAL_BASE_H
|
||||
|
||||
#include <aos/aos.h>
|
||||
|
||||
/*
|
||||
* HAL common error code
|
||||
*/
|
||||
enum {
|
||||
HAL_ERR_ARG = -4096,
|
||||
HAL_ERR_CAP,
|
||||
};
|
||||
|
||||
/*
|
||||
* HAL Module define
|
||||
*/
|
||||
typedef struct {
|
||||
dlist_t list;
|
||||
int magic;
|
||||
const char *name;
|
||||
void *priv_dev; /* Driver may want to describe it */
|
||||
} hal_module_base_t;
|
||||
|
||||
#endif /* HAL_BASE_H */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue