XWOS API
4.0
XWOS C/C++ API参考手册
|
玄武设备栈:电源管理框架 更多...
#include <xwcd/ds/standard.h>
#include <xwcd/ds/object.h>
#include <xwcd/ds/device.h>
#include <xwcd/ds/xwds.h>
函数 | |
static void | xwds_pm_report_devices_suspending (struct xwds *ds, xwer_t rc) |
报告设备暂停操作异常 | |
static void | xwds_pm_report_devices_resuming (struct xwds *ds, xwer_t rc) |
报告设备继续操作异常 | |
void | xwds_init (struct xwds *ds) |
XWDS API:初始化设备栈 | |
xwer_t | xwds_pm_suspend (struct xwds *ds) |
XWDS API:暂停设备栈 | |
xwer_t | xwds_pm_resume (struct xwds *ds) |
XWDS API:继续设备栈 | |
玄武设备栈:电源管理框架
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
在文件 xwds.c 中定义.
报告设备继续操作异常
[in] | ds | 设备栈控制块指针 |
[in] | rc | 错误码 |
< 去除未使用变量的警告
< 报告BUG
< 当条件x成立时报告BUG
报告设备暂停操作异常
[in] | ds | 设备栈控制块指针 |
[in] | rc | 错误码 |
< 去除未使用变量的警告
< 报告BUG
< 当条件x成立时报告BUG