8256860: S390 builds broken after JDK-8254231
Reviewed-by: stuefe
This commit is contained in:
parent
042734cc5b
commit
18e8506412
36
src/hotspot/cpu/s390/foreign_globals_s390.cpp
Normal file
36
src/hotspot/cpu/s390/foreign_globals_s390.cpp
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright (c) 2020, Red Hat, Inc. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
#include "precompiled.hpp"
|
||||
#include "prims/foreign_globals.hpp"
|
||||
#include "utilities/debug.hpp"
|
||||
|
||||
const ABIDescriptor ForeignGlobals::parse_abi_descriptor_impl(jobject jabi) const {
|
||||
Unimplemented();
|
||||
return {};
|
||||
}
|
||||
|
||||
const BufferLayout ForeignGlobals::parse_buffer_layout_impl(jobject jlayout) const {
|
||||
Unimplemented();
|
||||
return {};
|
||||
}
|
30
src/hotspot/cpu/s390/foreign_globals_s390.hpp
Normal file
30
src/hotspot/cpu/s390/foreign_globals_s390.hpp
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (c) 2020, Red Hat, Inc. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
#ifndef CPU_S390_VM_FOREIGN_GLOBALS_S390_HPP
|
||||
#define CPU_S390_VM_FOREIGN_GLOBALS_S390_HPP
|
||||
|
||||
class BufferLayout {};
|
||||
class ABIDescriptor {};
|
||||
|
||||
#endif // CPU_S390_VM_FOREIGN_GLOBALS_S390_HPP
|
@ -639,6 +639,11 @@ int MachCallRuntimeNode::ret_addr_offset() {
|
||||
return 12 + MacroAssembler::call_far_patchable_ret_addr_offset();
|
||||
}
|
||||
|
||||
int MachCallNativeNode::ret_addr_offset() {
|
||||
Unimplemented();
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Compute padding required for nodes which need alignment
|
||||
//
|
||||
// The addresses of the call instructions needs to be 4-byte aligned to
|
||||
|
@ -3463,3 +3463,11 @@ extern "C"
|
||||
int SpinPause() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
BufferBlob* SharedRuntime::make_native_invoker(address call_target,
|
||||
int shadow_space_bytes,
|
||||
const GrowableArray<VMReg>& input_registers,
|
||||
const GrowableArray<VMReg>& output_registers) {
|
||||
Unimplemented();
|
||||
return nullptr;
|
||||
}
|
||||
|
31
src/hotspot/cpu/s390/universalNativeInvoker_s390.cpp
Normal file
31
src/hotspot/cpu/s390/universalNativeInvoker_s390.cpp
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2020, Red Hat, Inc. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
#include "precompiled.hpp"
|
||||
#include "prims/universalNativeInvoker.hpp"
|
||||
#include "utilities/debug.hpp"
|
||||
|
||||
address ProgrammableInvoker::generate_adapter(jobject jabi, jobject jlayout) {
|
||||
Unimplemented();
|
||||
return nullptr;
|
||||
}
|
31
src/hotspot/cpu/s390/universalUpcallHandle_s390.cpp
Normal file
31
src/hotspot/cpu/s390/universalUpcallHandle_s390.cpp
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2020, Red Hat, Inc. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
#include "precompiled.hpp"
|
||||
#include "prims/universalUpcallHandler.hpp"
|
||||
#include "utilities/debug.hpp"
|
||||
|
||||
address ProgrammableUpcallHandler::generate_upcall_stub(jobject rec, jobject jabi, jobject jlayout) {
|
||||
Unimplemented();
|
||||
return nullptr;
|
||||
}
|
@ -47,3 +47,8 @@ void VMRegImpl::set_regName() {
|
||||
regName[i] = "NON-GPR-XMM";
|
||||
}
|
||||
}
|
||||
|
||||
VMReg VMRegImpl::vmStorageToVMReg(int type, int index) {
|
||||
Unimplemented();
|
||||
return VMRegImpl::Bad();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user