RealView.py (12116:5aeb6cc0993a) | RealView.py (12232:20817121988b) |
---|---|
1# Copyright (c) 2009-2017 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 42 unchanged lines hidden (view full) --- 51from Platform import Platform 52from Terminal import Terminal 53from Uart import Uart 54from SimpleMemory import SimpleMemory 55from Gic import * 56from EnergyCtrl import EnergyCtrl 57from ClockDomain import SrcClockDomain 58from SubSystem import SubSystem | 1# Copyright (c) 2009-2017 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 42 unchanged lines hidden (view full) --- 51from Platform import Platform 52from Terminal import Terminal 53from Uart import Uart 54from SimpleMemory import SimpleMemory 55from Gic import * 56from EnergyCtrl import EnergyCtrl 57from ClockDomain import SrcClockDomain 58from SubSystem import SubSystem |
59from Graphics import ImageFormat |
|
59 60# Platforms with KVM support should generally use in-kernel GIC 61# emulation. Use a GIC model that automatically switches between 62# gem5's GIC model and KVM's GIC model if KVM is available. 63try: 64 from KvmGic import MuxingKvmGic 65 kvm_gicv2_class = MuxingKvmGic 66except ImportError: --- 226 unchanged lines hidden (view full) --- 293 cxx_header = "dev/arm/hdlcd.hh" 294 vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer " 295 "display") 296 amba_id = 0x00141000 297 workaround_swap_rb = Param.Bool(False, "Workaround incorrect color " 298 "selector order in some kernels") 299 workaround_dma_line_count = Param.Bool(True, "Workaround incorrect " 300 "DMA line count (off by 1)") | 60 61# Platforms with KVM support should generally use in-kernel GIC 62# emulation. Use a GIC model that automatically switches between 63# gem5's GIC model and KVM's GIC model if KVM is available. 64try: 65 from KvmGic import MuxingKvmGic 66 kvm_gicv2_class = MuxingKvmGic 67except ImportError: --- 226 unchanged lines hidden (view full) --- 294 cxx_header = "dev/arm/hdlcd.hh" 295 vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer " 296 "display") 297 amba_id = 0x00141000 298 workaround_swap_rb = Param.Bool(False, "Workaround incorrect color " 299 "selector order in some kernels") 300 workaround_dma_line_count = Param.Bool(True, "Workaround incorrect " 301 "DMA line count (off by 1)") |
301 enable_capture = Param.Bool(True, "capture frame to system.framebuffer.bmp") | 302 enable_capture = Param.Bool(True, "capture frame to " 303 "system.framebuffer.{extension}") 304 frame_format = Param.ImageFormat("Auto", 305 "image format of the captured frame") |
302 303 pixel_buffer_size = Param.MemorySize32("2kB", "Size of address range") 304 305 pxl_clk = Param.ClockDomain("Pixel clock source") 306 pixel_chunk = Param.Unsigned(32, "Number of pixels to handle in one batch") 307 virt_refresh_rate = Param.Frequency("20Hz", "Frame refresh rate " 308 "in KVM mode") 309 --- 634 unchanged lines hidden --- | 306 307 pixel_buffer_size = Param.MemorySize32("2kB", "Size of address range") 308 309 pxl_clk = Param.ClockDomain("Pixel clock source") 310 pixel_chunk = Param.Unsigned(32, "Number of pixels to handle in one batch") 311 virt_refresh_rate = Param.Frequency("20Hz", "Frame refresh rate " 312 "in KVM mode") 313 --- 634 unchanged lines hidden --- |