A method and apparatus of memory access control for bus masters are described.
In one embodiment, the method includes the receipt of a direct memory access (DMA)
request from a device. Once the DMA request is received, DMA access rights of the
device are determined according to an access control list (ACL). Once determined,
the device is granted DMA access according to the determined memory access rights
of the device. In other words, if a DMA request coincides with DMA access rights
assigned to the device, the DMA request is executed. Otherwise, the operating system
may be notified of an unauthorized DMA request.