mirror of
https://github.com/plappermaul/realtek-doc.git
synced 2025-12-10 07:44:41 +01:00
62 lines
1.2 KiB
C
62 lines
1.2 KiB
C
/*
|
|
* Copyright (C) 2009-2016 Realtek Semiconductor Corp.
|
|
* All Rights Reserved.
|
|
*
|
|
* This program is the proprietary software of Realtek Semiconductor
|
|
* Corporation and/or its licensors, and only be used, duplicated,
|
|
* modified or distributed under the authorized license from Realtek.
|
|
*
|
|
* ANY USE OF THE SOFTWARE OTHER THAN AS AUTHORIZED UNDER
|
|
* THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
|
*
|
|
* $Revision: 71708 $
|
|
* $Date: 2016-09-19 11:31:17 +0800 (Mon, 19 Sep 2016) $
|
|
*
|
|
* Purpose : Definition of OSAL test APIs in the SDK
|
|
*
|
|
* Feature : SDK OSAL test APIs
|
|
*
|
|
*/
|
|
|
|
#ifndef __OSAL_TEST_ROOT_H__
|
|
#define __OSAL_TEST_ROOT_H__
|
|
|
|
/*
|
|
* Include Files
|
|
*/
|
|
#include <sdk/sdk_test.h>
|
|
|
|
/*
|
|
* Symbol Definition
|
|
*/
|
|
|
|
/*
|
|
* Data Declaration
|
|
*/
|
|
|
|
|
|
/*
|
|
* Function Declaration
|
|
*/
|
|
|
|
/* Function Name:
|
|
* osaltest_run
|
|
* Description:
|
|
* Test one test case or group test cases in the OSAL for one specified device.
|
|
* Input:
|
|
* unit - unit id
|
|
* action - action id
|
|
* Output:
|
|
* None
|
|
* Return:
|
|
* RT_ERR_OK
|
|
* RT_ERR_FAILED
|
|
* RT_ERR_UNIT_ID - invalid unit id
|
|
* Note:
|
|
* None
|
|
*/
|
|
extern int32
|
|
osaltest_run(uint32 unit, sdktest_action_t action);
|
|
|
|
#endif /* __OSAL_TEST_ROOT_H__ */
|
|
|