annotate src/cpu/s390/vm/disassembler_s390.hpp @ 12547:0c6ed760800c

8172049: [s390] Implement "JEP 270: Reserved Stack Areas for Critical Sections". Reviewed-by: mdoerr
author goetz
date Tue, 27 Dec 2016 16:10:59 +0100
parents
children
rev   line source
goetz@12256 1 /*
goetz@12256 2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
goetz@12256 3 * Copyright (c) 2016 SAP SE. All rights reserved.
goetz@12256 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
goetz@12256 5 *
goetz@12256 6 * This code is free software; you can redistribute it and/or modify it
goetz@12256 7 * under the terms of the GNU General Public License version 2 only, as
goetz@12256 8 * published by the Free Software Foundation.
goetz@12256 9 *
goetz@12256 10 * This code is distributed in the hope that it will be useful, but WITHOUT
goetz@12256 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
goetz@12256 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
goetz@12256 13 * version 2 for more details (a copy is included in the LICENSE file that
goetz@12256 14 * accompanied this code).
goetz@12256 15 *
goetz@12256 16 * You should have received a copy of the GNU General Public License version
goetz@12256 17 * 2 along with this work; if not, write to the Free Software Foundation,
goetz@12256 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
goetz@12256 19 *
goetz@12256 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
goetz@12256 21 * or visit www.oracle.com if you need additional information or have any
goetz@12256 22 * questions.
goetz@12256 23 *
goetz@12256 24 */
goetz@12256 25
goetz@12256 26 #ifndef CPU_S390_VM_DISASSEMBLER_S390_HPP
goetz@12256 27 #define CPU_S390_VM_DISASSEMBLER_S390_HPP
goetz@12256 28
goetz@12256 29 static int pd_instruction_alignment() {
goetz@12256 30 return 1;
goetz@12256 31 }
goetz@12256 32
goetz@12256 33 static const char* pd_cpu_opts() {
goetz@12256 34 return "zarch";
goetz@12256 35 }
goetz@12256 36
goetz@12256 37 #endif // CPU_S390_VM_DISASSEMBLER_S390_HPP