Skip to content

Commit

Permalink
Fix up character spacing
Browse files Browse the repository at this point in the history
Signed-off-by: Brent Holtsclaw <brent.holtsclaw@intel.com>
  • Loading branch information
BrentHoltsclaw committed Dec 11, 2024
1 parent 0c37c92 commit 7efcfcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion chipsec/hal/common/vmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,5 @@ def dump_device(self) -> None:
else:
self.cs.hals.Io.dump_IO(bar, size, 4)

haldata = {"arch":['FFFF'], 'name': ['Vmm']}

haldata = {"arch": ['FFFF'], 'name': ['Vmm']}
6 changes: 3 additions & 3 deletions chipsec/utilcmd/vmm_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def parse_arguments(self) -> None:
parser_ept.set_defaults(func=self.vmm_pt)

parser_virtio = subparsers.add_parser('is_virtio')
parser_virtio.add_argument('bus', type=lambda x: int(x,16), help='bus value (hex)')
parser_virtio.add_argument('dev', type=lambda x: int(x,16), help='device value (hex)')
parser_virtio.add_argument('fun', type=lambda x: int(x,16), help='function value (hex)')
parser_virtio.add_argument('bus', type=lambda x: int(x, 16), help='bus value (hex)')
parser_virtio.add_argument('dev', type=lambda x: int(x, 16), help='device value (hex)')
parser_virtio.add_argument('fun', type=lambda x: int(x, 16), help='function value (hex)')
parser_virtio.set_defaults(func=self.vmm_virtio)

parser_enumerate = subparsers.add_parser('virtio')
Expand Down

0 comments on commit 7efcfcb

Please sign in to comment.