Review Board 2.0.15


dev: Fix undefined behaviuor in i8254xGBe

Review Request #2652 - Created Feb. 9, 2015 and submitted - Latest diff uploaded

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 10705:6bb47e6b28d2
---------------------------
dev: Fix undefined behaviuor in i8254xGBe

This patch fixes a rather unfortunate oversight where the annotation
pointer was used even though it is null. Somehow the code still works,
but UBSan is rather unhappy. The use is now guarded, and the variable
is initialised in the constructor (as well as init()).