mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
pci_configuration: bump up CAPABILITY_MAX_OFFSET to byte max
dverkamp@ suggested that crrev.com/c/1157440 contained a mis-reading of the relevant Wikipedia article. BUG=chromium:892806, b:173630595 TEST=boot VM with capabilities list of size 207 Change-Id: I4afbe2058b5439bc502be59b8063a4db0fc5a12b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2792041 Tested-by: Gurchetan Singh <gurchetansingh@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
This commit is contained in:
parent
758503bcb5
commit
dda58b774f
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ const BAR_MEM_MIN_SIZE: u64 = 16;
|
||||||
const NUM_BAR_REGS: usize = 6;
|
const NUM_BAR_REGS: usize = 6;
|
||||||
const CAPABILITY_LIST_HEAD_OFFSET: usize = 0x34;
|
const CAPABILITY_LIST_HEAD_OFFSET: usize = 0x34;
|
||||||
const FIRST_CAPABILITY_OFFSET: usize = 0x40;
|
const FIRST_CAPABILITY_OFFSET: usize = 0x40;
|
||||||
const CAPABILITY_MAX_OFFSET: usize = 192;
|
const CAPABILITY_MAX_OFFSET: usize = 255;
|
||||||
|
|
||||||
const INTERRUPT_LINE_PIN_REG: usize = 15;
|
const INTERRUPT_LINE_PIN_REG: usize = 15;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue