os_linux_x86.hpp revision 1879:f95d63e2154a
11590Srgrimes/*
21590Srgrimes * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
31590Srgrimes * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
41590Srgrimes *
51590Srgrimes * This code is free software; you can redistribute it and/or modify it
61590Srgrimes * under the terms of the GNU General Public License version 2 only, as
71590Srgrimes * published by the Free Software Foundation.
81590Srgrimes *
91590Srgrimes * This code is distributed in the hope that it will be useful, but WITHOUT
101590Srgrimes * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
111590Srgrimes * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
121590Srgrimes * version 2 for more details (a copy is included in the LICENSE file that
131590Srgrimes * accompanied this code).
141590Srgrimes *
151590Srgrimes * You should have received a copy of the GNU General Public License version
161590Srgrimes * 2 along with this work; if not, write to the Free Software Foundation,
171590Srgrimes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
181590Srgrimes *
191590Srgrimes * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
201590Srgrimes * or visit www.oracle.com if you need additional information or have any
211590Srgrimes * questions.
221590Srgrimes *
231590Srgrimes */
241590Srgrimes
251590Srgrimes#ifndef OS_CPU_LINUX_X86_VM_OS_LINUX_X86_HPP
261590Srgrimes#define OS_CPU_LINUX_X86_VM_OS_LINUX_X86_HPP
271590Srgrimes
281590Srgrimes  static void setup_fpu();
291590Srgrimes  static bool supports_sse();
301590Srgrimes
311590Srgrimes  static bool is_allocatable(size_t bytes);
321590Srgrimes
331590Srgrimes  // Used to register dynamic code cache area with the OS
341590Srgrimes  // Note: Currently only used in 64 bit Windows implementations
3578201Sdd  static bool register_code_area(char *low, char *high) { return true; }
361590Srgrimes
371590Srgrimes#endif // OS_CPU_LINUX_X86_VM_OS_LINUX_X86_HPP
381590Srgrimes