blob: 10db99a703874f2d2404281605dd1ee254751d34 [file] [log] [blame]
alexander3c798932021-03-26 21:42:19 +00001/*
Kshitij Sisodiaa1256e32022-02-23 14:40:45 +00002 * Copyright (c) 2022 Arm Limited. All rights reserved.
alexander3c798932021-03-26 21:42:19 +00003 * SPDX-License-Identifier: Apache-2.0
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 */
Kshitij Sisodiaa1256e32022-02-23 14:40:45 +000017
18#include "platform_drivers.h"
alexander3c798932021-03-26 21:42:19 +000019
20#include <string.h>
21
Kshitij Sisodiaa1256e32022-02-23 14:40:45 +000022int platform_init(void)
alexander3c798932021-03-26 21:42:19 +000023{
24 return 0;
25}
26
Kshitij Sisodiaa1256e32022-02-23 14:40:45 +000027void platform_release(void)
alexander3c798932021-03-26 21:42:19 +000028{}
29
Kshitij Sisodiaa1256e32022-02-23 14:40:45 +000030void platform_name(char* name, size_t size)
alexander3c798932021-03-26 21:42:19 +000031{
32 strncpy(name, "native", size);
33}