mirror of
https://github.com/corda/corda.git
synced 2025-06-18 23:28:21 +00:00
Initial release of Intel SGX for Linux.
This release is used in conjunction with the linux-sgx-driver Intial release: https://github.com/01org/linux-sgx-driver commit-id: 0e865ce5e6b297a787bcdc12d98bada8174be6d7 Intel-id: 33399 Signed-off-by: Angie Chinchilla <angie.v.chinchilla@intel.com>
This commit is contained in:
10
sdk/cpprt/linux/libunwind/scripts/kernel-diff.sh
Executable file
10
sdk/cpprt/linux/libunwind/scripts/kernel-diff.sh
Executable file
@ -0,0 +1,10 @@
|
||||
kdir=${1:-../kernel}
|
||||
scriptdir=$(dirname $0)
|
||||
udir=$(dirname $scriptdir)
|
||||
cat $scriptdir/kernel-files.txt | \
|
||||
(while read l r; do
|
||||
left=$(eval echo $l)
|
||||
right=$(eval echo $r)
|
||||
# echo $left $right
|
||||
diff -up $left $right
|
||||
done)
|
19
sdk/cpprt/linux/libunwind/scripts/kernel-files.txt
Normal file
19
sdk/cpprt/linux/libunwind/scripts/kernel-files.txt
Normal file
@ -0,0 +1,19 @@
|
||||
$udir/include/tdep-ia64/rse.h $kdir/arch/ia64/unwind/rse.h
|
||||
$udir/src/ia64/Ginit_local.c $kdir/arch/ia64/unwind/init_local.c
|
||||
$udir/src/ia64/Gis_signal_frame.c $kdir/arch/ia64/unwind/is_signal_frame.c
|
||||
$udir/src/ia64/Gparser.c $kdir/arch/ia64/unwind/parser.c
|
||||
$udir/src/ia64/Grbs.c $kdir/arch/ia64/unwind/rbs.c
|
||||
$udir/src/ia64/Gregs.c $kdir/arch/ia64/unwind/regs.c
|
||||
$udir/src/ia64/Gscript.c $kdir/arch/ia64/unwind/script.c
|
||||
$udir/src/ia64/Gstep.c $kdir/arch/ia64/unwind/step.c
|
||||
$udir/src/ia64/init.h $kdir/arch/ia64/unwind/init.h
|
||||
$udir/src/ia64/offsets.h $kdir/arch/ia64/unwind/offsets.h
|
||||
$udir/src/ia64/regname.c $kdir/arch/ia64/unwind/regname.c
|
||||
$udir/src/ia64/regs.h $kdir/arch/ia64/unwind/regs.h
|
||||
$udir/src/ia64/unwind_decoder.h $kdir/arch/ia64/unwind/unwind_decoder.h
|
||||
$udir/src/mi/Gget_fpreg.c $kdir/unwind/get_fpreg.c
|
||||
$udir/src/mi/Gget_reg.c $kdir/unwind/get_reg.c
|
||||
$udir/src/mi/Gset_fpreg.c $kdir/unwind/set_fpreg.c
|
||||
$udir/src/mi/Gset_reg.c $kdir/unwind/set_reg.c
|
||||
$udir/src/mi/flush_cache.c $kdir/unwind/flush_cache.c
|
||||
$udir/src/mi/mempool.c $kdir/unwind/mempool.c
|
30
sdk/cpprt/linux/libunwind/scripts/make-L-files
Executable file
30
sdk/cpprt/linux/libunwind/scripts/make-L-files
Executable file
@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
cwd=`pwd`
|
||||
dir=`basename ${cwd}`
|
||||
#
|
||||
# When compiling a file that goes into libunwind, we only
|
||||
# need to compile it when we really do support UNW_LOCAL_ONLY.
|
||||
# In contrast, libunwind-tests should always get compiled.
|
||||
#
|
||||
if test $dir = "tests"; then
|
||||
local_only_test=""
|
||||
else
|
||||
local_only_test="defined(UNW_LOCAL_ONLY) && "
|
||||
fi
|
||||
for gname in `ls G*.c G*.cxx G*.S 2>/dev/null`; do
|
||||
lname="L$(expr $gname : '.\(.*\)')"
|
||||
bk edit $lname >/dev/null 2>&1
|
||||
ext=$(expr $gname : '[^.]*[.]\(.*\)')
|
||||
if [ "$ext" = "S" ]; then
|
||||
include=""
|
||||
else
|
||||
include="#include <libunwind.h>"
|
||||
fi
|
||||
echo -e "\
|
||||
#define UNW_LOCAL_ONLY\n\
|
||||
$include\n\
|
||||
#if ${local_only_test}!defined(UNW_REMOTE_ONLY)\n\
|
||||
#include \"$gname\"\n\
|
||||
#endif" > $lname
|
||||
echo created $lname
|
||||
done
|
Reference in New Issue
Block a user