/* AUTOMATICALLY GENERATED by qapi-gen.py DO NOT MODIFY */

/*
 * Schema-defined QAPI types
 *
 * Copyright IBM, Corp. 2011
 * Copyright (c) 2013-2018 Red Hat Inc.
 *
 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
 * See the COPYING.LIB file in the top-level directory.
 */

#include "qemu/osdep.h"
#include "qapi/dealloc-visitor.h"
#include "qapi-types-misc-arm.h"
#include "qapi-visit-misc-arm.h"
#include "qapi-features.h"

void qapi_free_GICCapability(GICCapability *obj)
{
    Visitor *v;

    if (!obj) {
        return;
    }

    v = qapi_dealloc_visitor_new();
    visit_type_GICCapability(v, NULL, &obj, NULL);
    visit_free(v);
}

void qapi_free_GICCapabilityList(GICCapabilityList *obj)
{
    Visitor *v;

    if (!obj) {
        return;
    }

    v = qapi_dealloc_visitor_new();
    visit_type_GICCapabilityList(v, NULL, &obj, NULL);
    visit_free(v);
}

const QEnumLookup SsidSizeMode_lookup = {
    .array = (const char *const[]) {
        [SSID_SIZE_MODE_AUTO] = "auto",
        [SSID_SIZE_MODE_0] = "0",
        [SSID_SIZE_MODE_1] = "1",
        [SSID_SIZE_MODE_2] = "2",
        [SSID_SIZE_MODE_3] = "3",
        [SSID_SIZE_MODE_4] = "4",
        [SSID_SIZE_MODE_5] = "5",
        [SSID_SIZE_MODE_6] = "6",
        [SSID_SIZE_MODE_7] = "7",
        [SSID_SIZE_MODE_8] = "8",
        [SSID_SIZE_MODE_9] = "9",
        [SSID_SIZE_MODE_10] = "10",
        [SSID_SIZE_MODE_11] = "11",
        [SSID_SIZE_MODE_12] = "12",
        [SSID_SIZE_MODE_13] = "13",
        [SSID_SIZE_MODE_14] = "14",
        [SSID_SIZE_MODE_15] = "15",
        [SSID_SIZE_MODE_16] = "16",
        [SSID_SIZE_MODE_17] = "17",
        [SSID_SIZE_MODE_18] = "18",
        [SSID_SIZE_MODE_19] = "19",
        [SSID_SIZE_MODE_20] = "20",
    },
    .size = SSID_SIZE_MODE__MAX
};

const QEnumLookup OasMode_lookup = {
    .array = (const char *const[]) {
        [OAS_MODE_AUTO] = "auto",
        [OAS_MODE_32] = "32",
        [OAS_MODE_36] = "36",
        [OAS_MODE_40] = "40",
        [OAS_MODE_42] = "42",
        [OAS_MODE_44] = "44",
        [OAS_MODE_48] = "48",
        [OAS_MODE_52] = "52",
        [OAS_MODE_56] = "56",
    },
    .size = OAS_MODE__MAX
};

/* Dummy declaration to prevent empty .o file */
char qapi_dummy_qapi_types_misc_arm_c;
