Patent ID: 7277972

Claim:
A method for providing peripheral access protection in a data processing system, comprising: initiating a bus cycle which requires access to a peripheral, wherein the bus cycle is a read bus cycle; providing a bus master identifier during at least a portion of the bus cycle; using the bus master identifier to select read access control information for the bus cycle, wherein the read access control information defines read access permission to the peripheral; determining if the access control information allows the bus master to access the peripheral; initiating a second bus cycle which requires access to the peripheral, wherein the second bus cycle is a write cycle; providing the bus master identifier during at least a portion of the second bus cycle; using the bus master identifier to select write access control information for the second bus cycle, wherein the write access control information defines write access permission to the peripheral and is separate from the read access control information; and determining if the write access control information allows the bus master to access the peripheral.