/*
- * Copyright (c) 1999-2005 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1999-2006 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
*/
/* Copyright 1998 Apple Computer, Inc. */
-#include <SYS.h>
+#include <architecture/i386/asm_help.h>
#define __APPLE_API_PRIVATE
#include <machine/cpu_capabilities.h>
LABEL(___commpage_gettimeofday)
mov $ _COMM_PAGE_GETTIMEOFDAY,%eax
jmp *%eax
-
-/*
- * This syscall is special cased: the timeval is returned in eax/edx.
- */
-LABEL(___gettimeofday)
- UNIX_SYSCALL_INT_NONAME(gettimeofday,0)
- mov 4(%esp),%ecx
- mov %eax,(%ecx)
- mov %edx,4(%ecx)
- xor %eax,%eax
- ret