Chameleon

Chameleon Svn Source Tree

Root/branches/ErmaC/Trunk/i386/include/architecture/alignment.h

1/*
2 * Copyright (c) 1999, 2008 Apple Inc. All rights reserved.
3 *
4 *
5 * This file contains Original Code and/or Modifications of Original Code
6 * as defined in and that are subject to the Apple Public Source License
7 * Version 2.0 (the 'License'). You may not use this file except in
8 * compliance with the License. Please obtain a copy of the License at
9 * http://www.opensource.apple.com/apsl/ and read it before using this
10 * file.
11 *
12 * The Original Code and all software distributed under the License are
13 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
17 * Please see the License for the specific language governing rights and
18 * limitations under the License.
19 *
20 * Copyright (c) 1996 NeXT Software, Inc.
21 *
22 * Natural alignment of shorts and longs.
23 *
24 * HISTORY
25 *
26 * 2 Sept 1992 Brian Raymor at NeXT
27 *Moved over to architecture.
28 * 18 August 1992 Jack Greenfield at NeXT
29 *Created.
30 */
31
32
33#if defined (__ppc__)
34#include "architecture/ppc/alignment.h"
35#elif defined (__i386__)
36#include "architecture/i386/alignment.h"
37#elif defined (__arm__)
38#include "architecture/arm/alignment.h"
39#else
40#error architecture not supported
41#endif
42
43
44

Archive Download this file

Revision: 2045