qemu/hw/pcmcia/pcmcia.c
<<
>>
Prefs
   1/*
   2 * PCMCIA emulation
   3 *
   4 * Copyright 2013 SUSE LINUX Products GmbH
   5 */
   6
   7#include "qemu/osdep.h"
   8#include "qemu-common.h"
   9#include "hw/hw.h"
  10#include "hw/pcmcia.h"
  11
  12static const TypeInfo pcmcia_card_type_info = {
  13    .name = TYPE_PCMCIA_CARD,
  14    .parent = TYPE_DEVICE,
  15    .instance_size = sizeof(PCMCIACardState),
  16    .abstract = true,
  17    .class_size = sizeof(PCMCIACardClass),
  18};
  19
  20static void pcmcia_register_types(void)
  21{
  22    type_register_static(&pcmcia_card_type_info);
  23}
  24
  25type_init(pcmcia_register_types)
  26