r2d.c (ffa4822c015d5670ef6a2239f3cbd2ff2cec57de) r2d.c (e264d29de28c5b0be3d063307ce9fb613b427cc3)
1/*
2 * Renesas SH7751R R2D-PLUS emulation
3 *
4 * Copyright (c) 2007 Magnus Damm
5 * Copyright (c) 2008 Paul Mundt
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 340 unchanged lines hidden (view full) ---

349 strncpy(boot_params.kernel_cmdline, kernel_cmdline,
350 sizeof(boot_params.kernel_cmdline));
351 }
352
353 rom_add_blob_fixed("boot_params", &boot_params, sizeof(boot_params),
354 SDRAM_BASE + BOOT_PARAMS_OFFSET);
355}
356
1/*
2 * Renesas SH7751R R2D-PLUS emulation
3 *
4 * Copyright (c) 2007 Magnus Damm
5 * Copyright (c) 2008 Paul Mundt
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 340 unchanged lines hidden (view full) ---

349 strncpy(boot_params.kernel_cmdline, kernel_cmdline,
350 sizeof(boot_params.kernel_cmdline));
351 }
352
353 rom_add_blob_fixed("boot_params", &boot_params, sizeof(boot_params),
354 SDRAM_BASE + BOOT_PARAMS_OFFSET);
355}
356
357static QEMUMachine r2d_machine = {
358 .name = "r2d",
359 .desc = "r2d-plus board",
360 .init = r2d_init,
361};
362
363static void r2d_machine_init(void)
357static void r2d_machine_init(MachineClass *mc)
364{
358{
365 qemu_register_machine(&r2d_machine);
359 mc->desc = "r2d-plus board";
360 mc->init = r2d_init;
366}
367
361}
362
368machine_init(r2d_machine_init);
363DEFINE_MACHINE("r2d", r2d_machine_init)