diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-03-13 17:41:51 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-03-13 17:41:51 +0000 |
commit | 63e7cd1562c8063ec24dcf0805d57846676be947 (patch) | |
tree | e6ac839a5b7f9eb6e99242a43fc331c56770def7 /emulators/virtualbox-ose | |
parent | e28d234a3cafd5f5ef0491dcf83ce2ba46ad0eec (diff) | |
download | ports-63e7cd1562c8063ec24dcf0805d57846676be947.tar.gz ports-63e7cd1562c8063ec24dcf0805d57846676be947.zip |
Notes
Diffstat (limited to 'emulators/virtualbox-ose')
-rw-r--r-- | emulators/virtualbox-ose/files/patch-include-iprt-x86.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-include-iprt-x86.h b/emulators/virtualbox-ose/files/patch-include-iprt-x86.h new file mode 100644 index 000000000000..e1fd3451e9c6 --- /dev/null +++ b/emulators/virtualbox-ose/files/patch-include-iprt-x86.h @@ -0,0 +1,18 @@ +--- include/iprt/x86.h.orig 2014-02-25 11:59:50.000000000 -0500 ++++ include/iprt/x86.h 2014-03-11 16:46:08.000000000 -0400 +@@ -35,6 +35,15 @@ + # pragma D depends_on library vbox-types.d + #endif + ++/* Workaround for FreeBSD machine/specialreg.h defining MSRs */ ++#ifdef RT_OS_FREEBSD ++# undef MSR_P5_MC_ADDR ++# undef MSR_P5_MC_TYPE ++# undef MSR_IA32_PLATFORM_ID ++# undef MSR_BBL_CR_CTL3 ++# undef MSR_IA32_MISC_ENABLE ++#endif ++ + /* Workaround for Solaris sys/regset.h defining CS, DS */ + #ifdef RT_OS_SOLARIS + # undef CS |