freebsd-nq/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 As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
npt.h
svm_genassym.c Restore the host's GS.base before returning from 'svm_launch()'. 2015-06-23 02:17:23 +00:00
svm_msr.c Allow guest writes to AMD microcode update[0xc0010020] MSR without updating actual hardware MSR. This allows guest microcode update to go through which otherwise failing because wrmsr() was returning EINVAL. 2016-04-11 05:09:43 +00:00
svm_msr.h
svm_softc.h
svm_support.S Restore the host's GS.base before returning from 'svm_launch()'. 2015-06-23 02:17:23 +00:00
svm.c revert r315959 because it causes build problems 2017-03-27 12:34:29 +00:00
svm.h Restore the host's GS.base before returning from 'svm_launch()'. 2015-06-23 02:17:23 +00:00
vmcb.c
vmcb.h vmm(4): Small spelling fixes. 2016-05-03 22:07:18 +00:00