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