Jason Huang | 5d9ab1a | 2020-04-15 16:53:49 +0800 | [diff] [blame] | 1 | /* |
| 2 | |
| 3 | * Copyright 2018-present Open Networking Foundation |
| 4 | |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | #ifndef BCMOS_COMMON_TEST_H_ |
| 19 | #define BCMOS_COMMON_TEST_H_ |
| 20 | |
| 21 | /** |
| 22 | This header file provides missing BAL API definitions required for unit test compilation. |
| 23 | */ |
| 24 | |
| 25 | extern void* bcmos_calloc(uint32_t size); |
| 26 | #define BCMOLT_INTERFACE_TYPE_EPON_1_G 3 |
| 27 | #define BCMOLT_INTERFACE_TYPE_EPON_10_G 4 |
Burak Gurdag | 5e58779 | 2020-05-06 14:58:02 +0000 | [diff] [blame] | 28 | #define BCMOLT_PON_POWER_LEVEL_PLS_MAXIMUM_ALLOCATION_SIZE_DEFAULT 10 |
| 29 | #define BCMOLT_PON_POWER_LEVEL_MODE_DEFAULT 0 |
Jason Huang | 5d9ab1a | 2020-04-15 16:53:49 +0800 | [diff] [blame] | 30 | |
| 31 | #endif // BCMOS_COMMON_TEST_H_ |