ac/debug: use an explicit getter for fetching words from the IB
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 18 Aug 2017 16:06:20 +0000 (18:06 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 23 Aug 2017 11:54:03 +0000 (13:54 +0200)
commitcfb3824c2339c0c87211396e8410e0957066c60b
treeadb400d2ead76ccfacc6641e17539afa3ec25356
parent6fdd7ba32e0305f41ac407618172c74d1dbc8dfb
ac/debug: use an explicit getter for fetching words from the IB

Guard against out-of-bounds accesses, and prepare for upcoming changes.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_debug.c