mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 18:41:27 +00:00
Add function hw_trace() and macro HW_TRACE - provides trace support
for HW devices.
This commit is contained in:
@@ -52,6 +52,8 @@ dv_core_attach_address_callback (struct hw *me,
|
||||
address_word nr_bytes,
|
||||
struct hw *client)
|
||||
{
|
||||
HW_TRACE ((me, "attach (level=%d, space=%d, addr=0x%lx, nr_bytes=%ld, client=0x%lx)",
|
||||
level, space, (unsigned long) addr, (unsigned long) nr_bytes, (unsigned long) client));
|
||||
/* NOTE: At preset the space is assumed to be zero. Perhaphs the
|
||||
space should be mapped onto something for instance: space0 -
|
||||
unified memory; space1 - IO memory; ... */
|
||||
|
||||
Reference in New Issue
Block a user