blob: d5b3727383f3e19399bccd9f6353db2a6b550908 [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 Sisodia4cc40212022-04-08 09:54:53 +010022static const char* s_platform_name = "native";
23
Kshitij Sisodiaa1256e32022-02-23 14:40:45 +000024int platform_init(void)
alexander3c798932021-03-26 21:42:19 +000025{
26 return 0;
27}
28
Kshitij Sisodiaa1256e32022-02-23 14:40:45 +000029void platform_release(void)
alexander3c798932021-03-26 21:42:19 +000030{}
31
Kshitij Sisodia4cc40212022-04-08 09:54:53 +010032const char* platform_name(void)
alexander3c798932021-03-26 21:42:19 +000033{
Kshitij Sisodia4cc40212022-04-08 09:54:53 +010034 return s_platform_name;
alexander3c798932021-03-26 21:42:19 +000035}