sbsa-ref.c (d45a5270d075ea589f0b0ddcf963a5fea1f500ac) | sbsa-ref.c (dae257394ae523aff0a9c4049c2e9934e3972ddc) |
---|---|
1/* 2 * ARM SBSA Reference Platform emulation 3 * 4 * Copyright (c) 2018 Linaro Limited 5 * Written by Hongbo Zhang <hongbo.zhang@linaro.org> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms and conditions of the GNU General Public License, --- 677 unchanged lines hidden (view full) --- 686 * devices go in at higher priority and take precedence. 687 */ 688 memory_region_init(secure_sysmem, OBJECT(machine), "secure-memory", 689 UINT64_MAX); 690 memory_region_add_subregion_overlap(secure_sysmem, 0, sysmem, -1); 691 692 firmware_loaded = sbsa_firmware_init(sms, sysmem, secure_sysmem); 693 | 1/* 2 * ARM SBSA Reference Platform emulation 3 * 4 * Copyright (c) 2018 Linaro Limited 5 * Written by Hongbo Zhang <hongbo.zhang@linaro.org> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms and conditions of the GNU General Public License, --- 677 unchanged lines hidden (view full) --- 686 * devices go in at higher priority and take precedence. 687 */ 688 memory_region_init(secure_sysmem, OBJECT(machine), "secure-memory", 689 UINT64_MAX); 690 memory_region_add_subregion_overlap(secure_sysmem, 0, sysmem, -1); 691 692 firmware_loaded = sbsa_firmware_init(sms, sysmem, secure_sysmem); 693 |
694 if (machine->kernel_filename && firmware_loaded) { 695 error_report("sbsa-ref: No fw_cfg device on this machine, " 696 "so -kernel option is not supported when firmware loaded, " 697 "please load OS from hard disk instead"); 698 exit(1); 699 } 700 | |
701 /* 702 * This machine has EL3 enabled, external firmware should supply PSCI 703 * implementation, so the QEMU's internal PSCI is disabled. 704 */ 705 sms->psci_conduit = QEMU_PSCI_CONDUIT_DISABLED; 706 707 sbsa_max_cpus = sbsa_ref_memmap[SBSA_GIC_REDIST].size / GICV3_REDIST_SIZE; 708 --- 167 unchanged lines hidden --- | 694 /* 695 * This machine has EL3 enabled, external firmware should supply PSCI 696 * implementation, so the QEMU's internal PSCI is disabled. 697 */ 698 sms->psci_conduit = QEMU_PSCI_CONDUIT_DISABLED; 699 700 sbsa_max_cpus = sbsa_ref_memmap[SBSA_GIC_REDIST].size / GICV3_REDIST_SIZE; 701 --- 167 unchanged lines hidden --- |