Browse Source

[Pal] Delete some unused files

Michał Kowalczyk 4 years ago
parent
commit
b7e87c3ed4

+ 0 - 1
LICENSE.addendum.txt

@@ -29,7 +29,6 @@ A number of files taken from other C libraries:
  ** Pal/lib/network/hton.c
  ** Pal/lib/string/ - the whole directory
  ** Pal/src/dynamic_link.h, do-rel.h , dl-machine-x86_64.h
- ** Pal/src/host/Linux/gettimeofday-x86_64.S
  ** Pal/src/host/Linux/include/ - whole directory - for signal API definitions
  ** We also build a patched glibc, but this could be moved into a separate repo
 

+ 1 - 1
Pal/src/host/Linux/Makefile

@@ -17,7 +17,7 @@ CFLAGS += $(defs)
 ASFLAGS += $(defs)
 objs	= $(addprefix db_,files devices pipes sockets streams memory threading \
 	    mutex events process object main rtld misc ipc \
-	    exception) clone-x86_64 gettimeofday-x86_64
+	    exception) clone-x86_64
 graphene_lib = .lib/graphene-lib.a
 
 .PHONY: all

+ 0 - 47
Pal/src/host/Linux/gettimeofday-x86_64.S

@@ -1,47 +0,0 @@
-/* Copyright (C) 2014 Stony Brook University
-   This file is part of Graphene Library OS.
-
-   Graphene Library OS is free software: you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public License
-   as published by the Free Software Foundation, either version 3 of the
-   License, or (at your option) any later version.
-
-   Graphene Library OS 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 Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
-
-/*
- * gettimeofday-x86_64.S
- *
- * This file contains architecture-specific implementation of timing
- * method.
- * The source code is imported and modified from the GNU C Library.
- */
-
-#include <asm/unistd.h>
-
-#include "sysdep-x86_64.h"
-
-/* For the calculation see asm/vsyscall.h.  */
-#define VSYSCALL_ADDR_vgettimeofday	0xffffffffff600000
-
-        .text
-ENTRY (gettimeofday)
-	/* Align stack.  */
-	sub	$0x8, %rsp
-	cfi_adjust_cfa_offset(8)
-	movq	$VSYSCALL_ADDR_vgettimeofday, %rax
-	callq	*%rax
-	/* Check error return.  */
-	/* cmpl	$-4095, %eax */
-	/* jae	SYSCALL_ERROR_LABEL */
-
-pseudo_end:
-	add	$0x8, %rsp
-	cfi_adjust_cfa_offset(-8)
-	ret
-END(gettimeofday)

+ 0 - 60
Pal/src/host/Linux/syscalls.txt

@@ -1,60 +0,0 @@
-* Common:
-
-accept4
-bind
-clone
-close
-connect
-execve
-exit
-exit_group
-fchmod
-fcntl
-fstat
-fsync
-ftruncate
-futex
-getdents64
-getsockname
-gettimeofday
-ioctl
-listen
-lseek
-mkdir
-mmap
-mprotect
-munmap
-nanosleep
-open
-pipe2
-ppoll
-prctl
-read
-recvmsg
-rename
-rmdir
-sched_yield
-sendmsg
-shutdown
-socket
-socketpair
-stat
-tgkill
-unlink
-wait4
-write
-
-* x86_64 only:
-
-arch_prctl
-rt_sigaction
-rt_sigprocmask
-rt_sigreturn
-
-* x86 only:
-
-get_thread_area
-set_thread_area
-sigaction
-sigprocmask
-sigreturn