cs4231a.c (c3ab4c9cf24ec9efb9c6d82b6027c0587d3081fa) | cs4231a.c (125ee0ed9cad04307498ac2b7b0d51ad8a807360) |
---|---|
1/* 2 * QEMU Crystal CS4231 audio chip emulation 3 * 4 * Copyright (c) 2006 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 671 unchanged lines hidden (view full) --- 680}; 681 682static void cs4231a_class_initfn (ObjectClass *klass, void *data) 683{ 684 DeviceClass *dc = DEVICE_CLASS (klass); 685 686 dc->realize = cs4231a_realizefn; 687 dc->reset = cs4231a_reset; | 1/* 2 * QEMU Crystal CS4231 audio chip emulation 3 * 4 * Copyright (c) 2006 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 671 unchanged lines hidden (view full) --- 680}; 681 682static void cs4231a_class_initfn (ObjectClass *klass, void *data) 683{ 684 DeviceClass *dc = DEVICE_CLASS (klass); 685 686 dc->realize = cs4231a_realizefn; 687 dc->reset = cs4231a_reset; |
688 set_bit(DEVICE_CATEGORY_SOUND, dc->categories); |
|
688 dc->desc = "Crystal Semiconductor CS4231A"; 689 dc->vmsd = &vmstate_cs4231a; 690 dc->props = cs4231a_properties; 691} 692 693static const TypeInfo cs4231a_info = { 694 .name = TYPE_CS4231A, 695 .parent = TYPE_ISA_DEVICE, --- 12 unchanged lines hidden --- | 689 dc->desc = "Crystal Semiconductor CS4231A"; 690 dc->vmsd = &vmstate_cs4231a; 691 dc->props = cs4231a_properties; 692} 693 694static const TypeInfo cs4231a_info = { 695 .name = TYPE_CS4231A, 696 .parent = TYPE_ISA_DEVICE, --- 12 unchanged lines hidden --- |