blob: cef45c531a4b33e410d677ebf5102fc855ff4409 [file] [log] [blame]
Jason Huang5d9ab1a2020-04-15 16:53:49 +08001/*
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/**
22This header file provides missing BAL API definitions required for unit test compilation.
23*/
24
25extern 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 Gurdag5e587792020-05-06 14:58:02 +000028#define BCMOLT_PON_POWER_LEVEL_PLS_MAXIMUM_ALLOCATION_SIZE_DEFAULT 10
29#define BCMOLT_PON_POWER_LEVEL_MODE_DEFAULT 0
Jason Huang5d9ab1a2020-04-15 16:53:49 +080030
31#endif // BCMOS_COMMON_TEST_H_