1/* 2 * Copyright (c) 2008 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 89 unchanged lines hidden (view full) --- 98 range_list.clear(); 99 range_list.push_back(RangeEx(pioAddr, pioAddr + 4)); 100 range_list.push_back(RangeEx(pioAddr + 16, pioAddr + 20)); 101 } 102 103 void getIntAddrRange(AddrRangeList &range_list) 104 { 105 range_list.clear(); |
106 range_list.push_back(RangeEx(x86InterruptAddress(id, 0), 107 x86InterruptAddress(id, 0) + PhysAddrAPICRangeSize)); |
108 } 109 110 void writeReg(uint8_t offset, uint32_t value); 111 uint32_t readReg(uint8_t offset); 112 113 Port *getPort(const std::string &if_name, int idx = -1) 114 { 115 if (if_name == "int_port") --- 12 unchanged lines hidden --- |