1 /* |
1 /* |
2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. |
3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 * or visit www.oracle.com if you need additional information or have any |
21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
22 * questions. |
23 * |
23 * |
24 */ |
24 */ |
|
25 |
|
26 #ifndef OS_CPU_LINUX_ZERO_VM_THREAD_LINUX_ZERO_HPP |
|
27 #define OS_CPU_LINUX_ZERO_VM_THREAD_LINUX_ZERO_HPP |
25 |
28 |
26 private: |
29 private: |
27 ZeroStack _zero_stack; |
30 ZeroStack _zero_stack; |
28 ZeroFrame* _top_zero_frame; |
31 ZeroFrame* _top_zero_frame; |
29 |
32 |
112 // These routines are only used on cpu architectures that |
115 // These routines are only used on cpu architectures that |
113 // have separate register stacks (Itanium). |
116 // have separate register stacks (Itanium). |
114 static bool register_stack_overflow() { return false; } |
117 static bool register_stack_overflow() { return false; } |
115 static void enable_register_stack_guard() {} |
118 static void enable_register_stack_guard() {} |
116 static void disable_register_stack_guard() {} |
119 static void disable_register_stack_guard() {} |
|
120 |
|
121 #endif // OS_CPU_LINUX_ZERO_VM_THREAD_LINUX_ZERO_HPP |