tests: Add a ptr helper function trietest.
authorGabe Black <gabeblack@google.com>
Thu, 30 Nov 2017 01:29:22 +0000 (17:29 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 4 Dec 2017 23:09:13 +0000 (23:09 +0000)
commitb359faa73b199b4defa42983ba17068d66beaaca
tree24b78421a640d550bdbdb9c696812bad02b30640
parent8c898cfaaa003e5635381f4b628a615726b5805a
tests: Add a ptr helper function trietest.

This function casts an integer constant into a uint32_t * to make the
actual test lines a bit less verbose.

Change-Id: I9307dfd3d5861ddb9c0f6dcf4b28c846004f0a8d
Reviewed-on: https://gem5-review.googlesource.com/6222
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/unittest/trietest.cc