当前位置: 首页>>代码示例>>C++>>正文


C++ MACHINE_CLASS函数代码示例

本文整理汇总了C++中MACHINE_CLASS函数的典型用法代码示例。如果您正苦于以下问题:C++ MACHINE_CLASS函数的具体用法?C++ MACHINE_CLASS怎么用?C++ MACHINE_CLASS使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了MACHINE_CLASS函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: mps2_class_init

static void mps2_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->init = mps2_common_init;
    mc->max_cpus = 1;
}
开发者ID:dgibson,项目名称:qemu,代码行数:7,代码来源:mps2.c

示例2: machine_class_init

static void machine_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    /* Default 128 MB as guest ram size */
    mc->default_ram_size = 128 * M_BYTE;
}
开发者ID:AmesianX,项目名称:WinQEMU,代码行数:7,代码来源:machine.c

示例3: realview_pb_a8_class_init

static void realview_pb_a8_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "ARM RealView Platform Baseboard for Cortex-A8";
    mc->init = realview_pb_a8_init;
}
开发者ID:32bitmicro,项目名称:riscv-qemu,代码行数:7,代码来源:realview.c

示例4: sx1_machine_v1_class_init

static void sx1_machine_v1_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "Siemens SX1 (OMAP310) V1";
    mc->init = sx1_init_v1;
}
开发者ID:SESA,项目名称:qemu,代码行数:7,代码来源:omap_sx1.c

示例5: verdex_class_init

static void verdex_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "Gumstix Verdex (PXA270)";
    mc->init = verdex_init;
}
开发者ID:Distrotech,项目名称:qemu,代码行数:7,代码来源:gumstix.c

示例6: connex_class_init

static void connex_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "Gumstix Connex (PXA255)";
    mc->init = connex_init;
}
开发者ID:Distrotech,项目名称:qemu,代码行数:7,代码来源:gumstix.c

示例7: realview_pbx_a9_class_init

static void realview_pbx_a9_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "ARM RealView Platform Baseboard Explore for Cortex-A9";
    mc->init = realview_pbx_a9_init;
    mc->max_cpus = 4;
}
开发者ID:Biamp-Systems,项目名称:mb-qemu,代码行数:8,代码来源:realview.c

示例8: microbit_machine_class_init

static void microbit_machine_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "BBC micro:bit";
    mc->init = microbit_init;
    mc->max_cpus = 1;
}
开发者ID:alistair23,项目名称:qemu,代码行数:8,代码来源:microbit.c

示例9: mips_pica61_class_init

static void mips_pica61_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "Acer Pica 61";
    mc->init = mips_pica61_init;
    mc->block_default_type = IF_SCSI;
}
开发者ID:dota1923,项目名称:qemu,代码行数:8,代码来源:mips_jazz.c

示例10: mips_magnum_class_init

static void mips_magnum_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "MIPS Magnum";
    mc->init = mips_magnum_init;
    mc->block_default_type = IF_SCSI;
}
开发者ID:dota1923,项目名称:qemu,代码行数:8,代码来源:mips_jazz.c

示例11: lm32_uclinux_class_init

static void lm32_uclinux_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "lm32 platform for uClinux and u-boot by Theobroma Systems";
    mc->init = lm32_uclinux_init;
    mc->is_default = 0;
}
开发者ID:AmesianX,项目名称:panda,代码行数:8,代码来源:lm32_boards.c

示例12: lm32_evr_class_init

static void lm32_evr_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "LatticeMico32 EVR32 eval system";
    mc->init = lm32_evr_init;
    mc->is_default = 1;
}
开发者ID:AmesianX,项目名称:panda,代码行数:8,代码来源:lm32_boards.c

示例13: nuri_class_init

static void nuri_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "Samsung NURI board (Exynos4210)";
    mc->init = nuri_init;
    mc->max_cpus = EXYNOS4210_NCPUS;
}
开发者ID:32bitmicro,项目名称:riscv-qemu,代码行数:8,代码来源:exynos4_boards.c

示例14: realview_eb_class_init

static void realview_eb_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->desc = "ARM RealView Emulation Baseboard (ARM926EJ-S)";
    mc->init = realview_eb_init;
    mc->block_default_type = IF_SCSI;
}
开发者ID:32bitmicro,项目名称:riscv-qemu,代码行数:8,代码来源:realview.c

示例15: ccw_machine_2_6_class_init

static void ccw_machine_2_6_class_init(ObjectClass *oc, void *data)
{
    MachineClass *mc = MACHINE_CLASS(oc);

    mc->alias = "s390-ccw-virtio";
    mc->desc = "VirtIO-ccw based S390 machine v2.6";
    mc->is_default = 1;
}
开发者ID:Distrotech,项目名称:qemu,代码行数:8,代码来源:s390-virtio-ccw.c


注:本文中的MACHINE_CLASS函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。