pl011.cc (9525:0587c8983d47) | pl011.cc (9806:3f262c18ad5d) |
---|---|
1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 102 unchanged lines hidden (view full) --- 111 data = rawInt; 112 DPRINTF(Uart, "Reading Raw Int status as 0x%x\n", rawInt); 113 break; 114 case UART_MIS: 115 DPRINTF(Uart, "Reading Masked Int status as 0x%x\n", rawInt); 116 data = maskInt; 117 break; 118 default: | 1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 102 unchanged lines hidden (view full) --- 111 data = rawInt; 112 DPRINTF(Uart, "Reading Raw Int status as 0x%x\n", rawInt); 113 break; 114 case UART_MIS: 115 DPRINTF(Uart, "Reading Masked Int status as 0x%x\n", rawInt); 116 data = maskInt; 117 break; 118 default: |
119 if (AmbaDev::readId(pkt, AMBA_ID, pioAddr)) { | 119 if (readId(pkt, AMBA_ID, pioAddr)) { |
120 // Hack for variable size accesses 121 data = pkt->get<uint32_t>(); 122 break; 123 } 124 125 panic("Tried to read PL011 at offset %#x that doesn't exist\n", daddr); 126 break; 127 } --- 204 unchanged lines hidden --- | 120 // Hack for variable size accesses 121 data = pkt->get<uint32_t>(); 122 break; 123 } 124 125 panic("Tried to read PL011 at offset %#x that doesn't exist\n", daddr); 126 break; 127 } --- 204 unchanged lines hidden --- |