diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2016-05-09 08:20:38 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@google.com> | 2016-05-16 19:55:33 +0200 |
commit | f7c3876c28634a70390edeb527c865516444e627 (patch) | |
tree | 4c40d325e89b74c250cca0bc0bd2709b09dfa838 /src/device/pciexp_device.c | |
parent | 56b69aa9c7d5628dec0d6345c29fb0a1cfeae9fc (diff) |
acpigen: Add an abstracted integer output method
In order to produce smaller AML and not rely on the caller to size the
output type appropriately add a helper function that will output an
appropriately sized integer.
To complete this also add helper functions for outputting the single
OpCode for Zero and One and Ones.
And finally add "name" variants of the helpers that will output a
complete sequence like "Name (_UID, Zero)".
Change-Id: I7ee4bc0a6347d15b8d49df357845a8bc2e517407
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/14794
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/device/pciexp_device.c')
0 files changed, 0 insertions, 0 deletions