freebsd-skq/sys/amd64/vmm/amd
Ryan Libby 5228ad10d4 amd-vi: gcc build errors
amdvi_cmp_wait: gcc complained about a malformed string behind an ifdef.

struct amdvi_dte: widen the type of the first reserved bitfield so that
the packed representation would not cross an alignment boundary for that
type. Apparently that causes in-tree gcc (4.2) to insert padding
(despite packed, resulting in a wrong structure definition), and causes
more modern gcc to emit a warning.

ivrs_hdr_iterate_tbl: delete a misleading check about header length
being less than 0 (the type is unsigned) and replace it with a check
that the length doesn't exceed the table size.

Reviewed by:	anish, grehan
Approved by:	markj (mentor)
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D11485
2017-07-07 06:37:19 +00:00
..
amdv.c
amdvi_hw.c amd-vi: gcc build errors 2017-07-07 06:37:19 +00:00
amdvi_priv.h amd-vi: gcc build errors 2017-07-07 06:37:19 +00:00
ivrs_drv.c amd-vi: gcc build errors 2017-07-07 06:37:19 +00:00
npt.c
npt.h
svm_genassym.c
svm_msr.c
svm_msr.h
svm_softc.h
svm_support.S
svm.c
svm.h
vmcb.c
vmcb.h