]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/machine/exec.h
xnu-2422.90.20.tar.gz
[apple/xnu.git] / bsd / machine / exec.h
index dbdaf3053f0e11f96c4fafc7f8cac654cb3bd37f..a38f0dd74c9e0fe79d8770046a46f085dbc6db26 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
 #ifndef _BSD_MACHINE_EXEC_H_
 #define _BSD_MACHINE_EXEC_H_
 
+#include <sys/param.h>
 
-#if defined (__ppc__) || defined (__ppc64__)
-#include "ppc/exec.h"
-#elif defined (__i386__)
+struct exec_info {
+       char    path[MAXPATHLEN];
+       int     ac;
+       int     ec;
+       char    **av;
+       char    **ev;
+};
+
+int grade_binary(cpu_type_t, cpu_subtype_t);
+
+#if defined (__i386__) || defined(__x86_64__)
 #include "i386/exec.h"
 #else
 #error architecture not supported
 #endif
 
-
 #endif /* _BSD_MACHINE_EXEC_H_ */