comparison src/cpu/x86/vm/vm_version_x86.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents ae065c367d93
children 15c9a0e16269
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24
25 #ifndef CPU_X86_VM_VM_VERSION_X86_HPP
26 #define CPU_X86_VM_VM_VERSION_X86_HPP
27
28 #include "runtime/globals_extension.hpp"
29 #include "runtime/vm_version.hpp"
24 30
25 class VM_Version : public Abstract_VM_Version { 31 class VM_Version : public Abstract_VM_Version {
26 public: 32 public:
27 // cpuid result register layouts. These are all unions of a uint32_t 33 // cpuid result register layouts. These are all unions of a uint32_t
28 // (in case anyone wants access to the register as a whole) and a bitfield. 34 // (in case anyone wants access to the register as a whole) and a bitfield.
518 static intx prefetch_fields_ahead() { 524 static intx prefetch_fields_ahead() {
519 intx count = PrefetchFieldsAhead; 525 intx count = PrefetchFieldsAhead;
520 return count >= 0 ? count : 1; 526 return count >= 0 ? count : 1;
521 } 527 }
522 }; 528 };
529
530 #endif // CPU_X86_VM_VM_VERSION_X86_HPP