blob: cc4292089634bd63e95956b560637505651324c5 [file] [log] [blame]
// Copyright 2020 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#include <stdint.h>
typedef char hw_bool_t;
typedef int hw_int_t;
typedef int64_t hw_disksize_t;
typedef char* hw_string_t;
typedef double hw_double_t;
/* these macros are used to define the fields of AndroidHwConfig
* declared below
*/
#define HWCFG_BOOL(n,s,d,a,t) hw_bool_t n;
#define HWCFG_INT(n,s,d,a,t) hw_int_t n;
#define HWCFG_STRING(n,s,d,a,t) hw_string_t n;
#define HWCFG_DOUBLE(n,s,d,a,t) hw_double_t n;
#define HWCFG_DISKSIZE(n,s,d,a,t) hw_disksize_t n;
typedef struct AndroidHwConfig {
#include "hw-config-defs.h"
} AndroidHwConfig;