摘要 |
<p>A method and apparatus is provided to securely debug computer software remotely over a serial bus (e.g., the IEEE 1394 bus) between a host computer and a target computer. A kernel debugger on the target computer announces its presence by periodically sending 'announce' packets on the bus. A host debugger on the host computer receives the 'announce' packets and extracts from them the physical address of a memory area on the target computer that is memory mapped to an address space of the serial bus. The host debugger is thereafter able to directly write debug requests into the target computer's memory, and the kernel debugger on the target computer can service the debug requests without interrupting the CPU of the target computer.Before servicing the debug request, the target computer accesses the topology map to verify that the host is authorized to send debug commands. When the host is not authorized, the commands are disregarded; if the host is authorized, the debug commands are executed.</p> |