GetIrqList() public method

public GetIrqList ( ) : string
return string
Exemplo n.º 1
0
        private static void DisplayDevices(MemoryController memory, List<IMemoryMappedDevice> devices, InterruptHandler interruptHandler)
        {
            Console.WriteLine("Memory {0} bytes", memory.Size );
            Console.WriteLine();
            Console.WriteLine("Devices");
            Console.WriteLine("=============================================");
            foreach (var mappedDevice in devices.OrderBy(d=>d.MemoryRangeStart))
            {
                Console.WriteLine("{0} - {1} bytes [{2}-{3}]", mappedDevice.Name.PadRight(15), mappedDevice.MemoryRangeLength, mappedDevice.MemoryRangeStart, mappedDevice.MemoryRangeStart + mappedDevice.MemoryRangeLength);
            }
            Console.WriteLine("=============================================");

            String irqList = interruptHandler.GetIrqList();
            Console.WriteLine();
            Console.WriteLine(irqList);
        }
Exemplo n.º 2
0
        private static void DisplayDevices(MemoryController memory, List <IMemoryMappedDevice> devices, InterruptHandler interruptHandler)
        {
            Console.WriteLine("Memory {0} bytes", memory.Size);
            Console.WriteLine();
            Console.WriteLine("Devices");
            Console.WriteLine("=============================================");
            foreach (var mappedDevice in devices.OrderBy(d => d.MemoryRangeStart))
            {
                Console.WriteLine("{0} - {1} bytes [{2}-{3}]", mappedDevice.Name.PadRight(15), mappedDevice.MemoryRangeLength, mappedDevice.MemoryRangeStart, mappedDevice.MemoryRangeStart + mappedDevice.MemoryRangeLength);
            }
            Console.WriteLine("=============================================");

            String irqList = interruptHandler.GetIrqList();

            Console.WriteLine();
            Console.WriteLine(irqList);
        }