summaryrefslogtreecommitdiffstats
path: root/sys/amd64/isa
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-12-17 05:07:01 +0000
committerkmacy <kmacy@FreeBSD.org>2006-12-17 05:07:01 +0000
commitee539b99dcacb73703a09f64d8ada227bb88a165 (patch)
tree1efe0da4c2d3a8dd001c384ae0b90857bc051940 /sys/amd64/isa
parent6795d7528dafe4542404d5c897996ab60825164e (diff)
downloadFreeBSD-src-ee539b99dcacb73703a09f64d8ada227bb88a165.zip
FreeBSD-src-ee539b99dcacb73703a09f64d8ada227bb88a165.tar.gz
Evidently FreeBSD has long relied on the compiler to treat structures
passed by value (trap frames) as if they were in fact being passed by reference. For better or worse, this incorrect behaviour is no longer present in gcc 4.1. In this patch I convert all trapframe arguments to be explicitly pass by reference. I also remove vm86_initflags, pushing the very little work that it actually does up into vm86_prepcall. Reviewed by: kan Tested by: kan
Diffstat (limited to 'sys/amd64/isa')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud