Changeset 13608
- Timestamp:
- Apr 11, 2010, 4:04:59 AM (15 years ago)
- Location:
- trunk/source/lisp-kernel
- Files:
-
- 15 edited
-
lisp.h (modified) (1 diff)
-
platform-darwinppc.h (modified) (2 diffs)
-
platform-darwinppc64.h (modified) (1 diff)
-
platform-darwinx8632.h (modified) (1 diff)
-
platform-darwinx8664.h (modified) (1 diff)
-
platform-freebsdx8632.h (modified) (1 diff)
-
platform-freebsdx8664.h (modified) (1 diff)
-
platform-linuxppc.h (modified) (1 diff)
-
platform-linuxppc64.h (modified) (1 diff)
-
platform-linuxx8632.h (modified) (1 diff)
-
platform-linuxx8664.h (modified) (1 diff)
-
platform-solarisx64.h (modified) (1 diff)
-
platform-solarisx86.h (modified) (1 diff)
-
platform-win32.h (modified) (1 diff)
-
platform-win64.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/lisp-kernel/lisp.h
r13601 r13608 79 79 #define PLATFORM_OS_WINDOWS 5 80 80 81 #ifdef LINUX82 #define PLATFORM_OS PLATFORM_OS_LINUX83 #endif84 81 85 #ifdef DARWIN86 #define PLATFORM_OS PLATFORM_OS_DARWIN87 #endif88 89 #ifdef FREEBSD90 #define PLATFORM_OS PLATFORM_OS_FREEBSD91 #endif92 93 #ifdef SOLARIS94 #define PLATFORM_OS PLATFORM_OS_SOLARIS95 #endif96 97 #ifdef WINDOWS98 #define PLATFORM_OS PLATFORM_OS_WINDOWS99 #endif100 101 #ifdef PPC102 #define PLATFORM_CPU PLATFORM_CPU_PPC103 #endif104 105 #ifdef X86106 #define PLATFORM_CPU PLATFORM_CPU_X86107 #endif108 109 #if (WORD_SIZE == 32)110 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_32111 #endif112 113 #if (WORD_SIZE == 64)114 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_64115 #endif116 82 117 83 #define PLATFORM (PLATFORM_OS|PLATFORM_CPU|PLATFORM_WORD_SIZE) -
trunk/source/lisp-kernel/platform-darwinppc.h
r13597 r13608 16 16 */ 17 17 18 #define WORD_SIZE 32 18 #define WORD_SIZE 3 19 #define PLATFORM_OS PLATFORM_OS_DARWIN 20 #define PLATFORM_CPU PLATFORM_CPU_PPC 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_32 22 23 #include <sys/signal.h> 24 #include <sys/ucontext.h> 19 25 20 26 /* ucontext/mcontext stuff; saner if OS >= 10.5 */ … … 22 28 typedef mcontext_t MCONTEXT_T; 23 29 #define UC_MCONTEXT(UC) UC->uc_mcontext 30 31 #include "standard-inttypes.h" -
trunk/source/lisp-kernel/platform-darwinppc64.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 64 19 #define PLATFORM_OS PLATFORM_OS_DARWIN 20 #define PLATFORM_CPU PLATFORM_CPU_PPC 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_64 22 23 /* ucontext/mcontext stuff; saner if OS >= 10.5 */ 24 #include <sys/signal.h> 25 #include <sys/ucontext.h> 26 typedef _STRUCT_UCONTEXT64 ExceptionInformation; 27 typedef _STRUCT_MCONTEXT64 *MCONTEXT_T; 28 #define UC_MCONTEXT(UC) UC->uc_mcontext64 19 29 20 30 21 /* ucontext/mcontext stuff; saner if OS >= 10.5 */22 typedef struct ucontext64 ExceptionInformation;23 typedef struct mcontext64 MCONTEXT_T;24 #define UC_MCONTEXT(UC) UC->uc_mcontext25 26 /* Define "standard" C integer types. There are lots of standards; we27 basically want to define signed/unsigned 8/16/32/64-bit integer28 types (s8_t, u32_t) with names that we can use consistently in29 this code. (We may or may not actually use them consistently.)30 */31 32 31 #include "standard-inttypes.h" -
trunk/source/lisp-kernel/platform-darwinx8632.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 32 19 #define PLATFORM_OS PLATFORM_OS_DARWIN 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_32 19 22 20 23 /* ucontext/mcontext stuff; saner if OS >= 10.5 */ -
trunk/source/lisp-kernel/platform-darwinx8664.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 64 19 #define PLATFORM_OS PLATFORM_OS_DARWIN 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_64 22 19 23 20 24 #include <sys/signal.h> -
trunk/source/lisp-kernel/platform-freebsdx8632.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 32 19 #define PLATFORM_OS PLATFORM_OS_FREEBSD 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_32 19 22 20 23 typedef struct __ucontext ExceptionInformation; -
trunk/source/lisp-kernel/platform-freebsdx8664.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 64 19 #define PLATFORM_OS PLATFORM_OS_FREEBSD 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_64 19 22 20 23 typedef struct __ucontext ExceptionInformation; -
trunk/source/lisp-kernel/platform-linuxppc.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 32 19 #define PLATFORM_OS PLATFORM_OS_LINUX 20 #define PLATFORM_CPU PLATFORM_CPU_PPC 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_32 19 22 20 23 typedef struct ucontext ExceptionInformation; -
trunk/source/lisp-kernel/platform-linuxppc64.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 64 19 #define PLATFORM_OS PLATFORM_OS_LINUX 20 #define PLATFORM_CPU PLATFORM_CPU_PPC 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_64 19 22 20 23 typedef struct ucontext ExceptionInformation; -
trunk/source/lisp-kernel/platform-linuxx8632.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 32 19 #define PLATFORM_OS PLATFORM_OS_LINUX 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_32 19 22 20 23 typedef struct ucontext ExceptionInformation; -
trunk/source/lisp-kernel/platform-linuxx8664.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 64 19 #define PLATFORM_OS PLATFORM_OS_LINUX 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_64 19 22 20 23 typedef struct ucontext ExceptionInformation; -
trunk/source/lisp-kernel/platform-solarisx64.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 64 19 #define PLATFORM_OS PLATFORM_OS_SOLARIS 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_64 19 22 20 23 typedef struct ucontext ExceptionInformation; -
trunk/source/lisp-kernel/platform-solarisx86.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 32 19 #define PLATFORM_OS PLATFORM_OS_SOLARIS 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_32 19 22 20 23 typedef struct ucontext ExceptionInformation; -
trunk/source/lisp-kernel/platform-win32.h
r13597 r13608 17 17 18 18 #define WORD_SIZE 32 19 #define PLATFORM_OS PLATFORM_OS_WINDOWS 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_32 19 22 20 23 typedef CONTEXT ExceptionInformation; -
trunk/source/lisp-kernel/platform-win64.h
r13597 r13608 1 /* 2 Copyright (C) 2010 Clozure Associates 3 Copyright (C) 1994-2001 Digitool, Inc 4 This file is part of Clozure CL. 5 6 Clozure CL is licensed under the terms of the Lisp Lesser GNU Public 7 License , known as the LLGPL and distributed with Clozure CL as the 8 file "LICENSE". The LLGPL consists of a preamble and the LGPL, 9 which is distributed with Clozure CL as the file "LGPL". Where these 10 conflict, the preamble takes precedence. 11 12 Clozure CL is referenced in the preamble as the "LIBRARY." 13 14 The LLGPL is also available online at 15 http://opensource.franz.com/preamble.html 16 */ 17 18 #define WORD_SIZE 64 19 #define PLATFORM_OS PLATFORM_OS_WINDOWS 20 #define PLATFORM_CPU PLATFORM_CPU_X86 21 #define PLATFORM_WORD_SIZE PLATFORM_WORD_SIZE_64 22 23 typedef CONTEXT ExceptionInformation; 24 25 #include "windows-inttypes.h"
Note:
See TracChangeset
for help on using the changeset viewer.
