1 /* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. (http://www.meta.com) 3 * 4 * This code is licensed under the GPL version 2 or later. See the COPYING 5 * file in the top-level directory. 6 */ 7 8 #include "qemu/osdep.h" 9 #include "hw/boards.h" 10 11 #define TYPE_FBY35 MACHINE_TYPE_NAME("fby35") 12 OBJECT_DECLARE_SIMPLE_TYPE(Fby35State, FBY35); 13 14 struct Fby35State { 15 MachineState parent_obj; 16 }; 17 18 static void fby35_init(MachineState *machine) 19 { 20 } 21 22 static void fby35_class_init(ObjectClass *oc, void *data) 23 { 24 MachineClass *mc = MACHINE_CLASS(oc); 25 26 mc->desc = "Meta Platforms fby35"; 27 mc->init = fby35_init; 28 } 29 30 static const TypeInfo fby35_types[] = { 31 { 32 .name = MACHINE_TYPE_NAME("fby35"), 33 .parent = TYPE_MACHINE, 34 .class_init = fby35_class_init, 35 .instance_size = sizeof(Fby35State), 36 }, 37 }; 38 39 DEFINE_TYPES(fby35_types); 40