diff --git a/src/de.hpi.swa.trufflesqueak.ffi.native/CMakeLists.txt b/src/de.hpi.swa.trufflesqueak.ffi.native/CMakeLists.txt index 3aafb8798..993aaf970 100644 --- a/src/de.hpi.swa.trufflesqueak.ffi.native/CMakeLists.txt +++ b/src/de.hpi.swa.trufflesqueak.ffi.native/CMakeLists.txt @@ -1,3 +1,10 @@ +# +# Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute +# Copyright (c) 2021-2024 Oracle and/or its affiliates +# +# Licensed under the MIT License. +# + cmake_minimum_required(VERSION 3.22) project(de.hpi.swa.trufflesqueak.ffi.native) diff --git a/src/de.hpi.swa.trufflesqueak.ffi.native/include/sqMemoryAccess.h b/src/de.hpi.swa.trufflesqueak.ffi.native/include/sqMemoryAccess.h index 43f3e4de1..4da4d9fdb 100644 --- a/src/de.hpi.swa.trufflesqueak.ffi.native/include/sqMemoryAccess.h +++ b/src/de.hpi.swa.trufflesqueak.ffi.native/include/sqMemoryAccess.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ #define SIZEOF_VOID_P 8 //////////// from here on: copied from diff --git a/src/de.hpi.swa.trufflesqueak.ffi.native/include/sqVirtualMachine.h b/src/de.hpi.swa.trufflesqueak.ffi.native/include/sqVirtualMachine.h index 63143b70c..887184062 100644 --- a/src/de.hpi.swa.trufflesqueak.ffi.native/include/sqVirtualMachine.h +++ b/src/de.hpi.swa.trufflesqueak.ffi.native/include/sqVirtualMachine.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ #include "vmCallback.h" //////////// from here on: copied from diff --git a/src/de.hpi.swa.trufflesqueak.ffi.native/include/vmCallback.h b/src/de.hpi.swa.trufflesqueak.ffi.native/include/vmCallback.h index b7bde95f0..de591fc9d 100644 --- a/src/de.hpi.swa.trufflesqueak.ffi.native/include/vmCallback.h +++ b/src/de.hpi.swa.trufflesqueak.ffi.native/include/vmCallback.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ #include #include "sqMemoryAccess.h" diff --git a/src/de.hpi.swa.trufflesqueak.ffi.native/src/InterpreterProxy.c b/src/de.hpi.swa.trufflesqueak.ffi.native/src/InterpreterProxy.c index 9d5eb4338..fdd2f3344 100644 --- a/src/de.hpi.swa.trufflesqueak.ffi.native/src/InterpreterProxy.c +++ b/src/de.hpi.swa.trufflesqueak.ffi.native/src/InterpreterProxy.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ #include #define VM_PROXY_MAJOR 1 diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/InterpreterProxy.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/InterpreterProxy.java index 28d80c0e3..6676bb71f 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/InterpreterProxy.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/InterpreterProxy.java @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ package de.hpi.swa.trufflesqueak.nodes.plugins.ffi; import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/PrimExternalCallNode.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/PrimExternalCallNode.java index e5d5921f3..482734d49 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/PrimExternalCallNode.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/PrimExternalCallNode.java @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ package de.hpi.swa.trufflesqueak.nodes.plugins.ffi; import com.oracle.truffle.api.CompilerDirectives; diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/ByteStorage.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/ByteStorage.java index d1541f9be..aecff1068 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/ByteStorage.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/ByteStorage.java @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ package de.hpi.swa.trufflesqueak.nodes.plugins.ffi.wrappers; import de.hpi.swa.trufflesqueak.util.UnsafeUtils; diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/IntStorage.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/IntStorage.java index 9d316ea16..ae0e41755 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/IntStorage.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/IntStorage.java @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ package de.hpi.swa.trufflesqueak.nodes.plugins.ffi.wrappers; import de.hpi.swa.trufflesqueak.util.UnsafeUtils; diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/LongStorage.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/LongStorage.java index 4653e0963..dd7d361ae 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/LongStorage.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/LongStorage.java @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ package de.hpi.swa.trufflesqueak.nodes.plugins.ffi.wrappers; import de.hpi.swa.trufflesqueak.util.UnsafeUtils; diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/NativeObjectStorage.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/NativeObjectStorage.java index e6fe49e65..1c429073a 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/NativeObjectStorage.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/NativeObjectStorage.java @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ package de.hpi.swa.trufflesqueak.nodes.plugins.ffi.wrappers; import com.oracle.truffle.api.interop.InteropLibrary; diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/PostPrimitiveCleanup.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/PostPrimitiveCleanup.java index 79c85fb8d..afbde5f70 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/PostPrimitiveCleanup.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/PostPrimitiveCleanup.java @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ package de.hpi.swa.trufflesqueak.nodes.plugins.ffi.wrappers; public interface PostPrimitiveCleanup { diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/ShortStorage.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/ShortStorage.java index a1beb3000..74d5630bb 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/ShortStorage.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/wrappers/ShortStorage.java @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ package de.hpi.swa.trufflesqueak.nodes.plugins.ffi.wrappers; import de.hpi.swa.trufflesqueak.util.UnsafeUtils; diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/util/NFIUtils.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/util/NFIUtils.java index e4495e87f..e6df3a3f9 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/util/NFIUtils.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/util/NFIUtils.java @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017-2024 Software Architecture Group, Hasso Plattner Institute + * Copyright (c) 2021-2024 Oracle and/or its affiliates + * + * Licensed under the MIT License. + */ package de.hpi.swa.trufflesqueak.util; import com.oracle.truffle.api.CompilerDirectives;