OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [m68k/] [arch/] [current/] [include/] [basetype.h] - Blame information for rev 856

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
#ifndef CYGONCE_HAL_BASETYPE_H
2
#define CYGONCE_HAL_BASETYPE_H
3
 
4
//=============================================================================
5
//
6
//      basetype.h
7
//
8
//      Standard types for this architecture.
9
//
10
//=============================================================================
11
// ####ECOSGPLCOPYRIGHTBEGIN####                                            
12
// -------------------------------------------                              
13
// This file is part of eCos, the Embedded Configurable Operating System.   
14
// Copyright (C) 2003, 2008 Free Software Foundation, Inc.                  
15
//
16
// eCos is free software; you can redistribute it and/or modify it under    
17
// the terms of the GNU General Public License as published by the Free     
18
// Software Foundation; either version 2 or (at your option) any later      
19
// version.                                                                 
20
//
21
// eCos is distributed in the hope that it will be useful, but WITHOUT      
22
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or    
23
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License    
24
// for more details.                                                        
25
//
26
// You should have received a copy of the GNU General Public License        
27
// along with eCos; if not, write to the Free Software Foundation, Inc.,    
28
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.            
29
//
30
// As a special exception, if other files instantiate templates or use      
31
// macros or inline functions from this file, or you compile this file      
32
// and link it with other works to produce a work based on this file,       
33
// this file does not by itself cause the resulting work to be covered by   
34
// the GNU General Public License. However the source code for this file    
35
// must still be made available in accordance with section (3) of the GNU   
36
// General Public License v2.                                               
37
//
38
// This exception does not invalidate any other reasons why a work based    
39
// on this file might be covered by the GNU General Public License.         
40
// -------------------------------------------                              
41
// ####ECOSGPLCOPYRIGHTEND####                                              
42
//=============================================================================
43
//####DESCRIPTIONBEGIN####
44
//
45
// Author(s):   bartv
46
// Date:        2003-06-04
47
//####DESCRIPTIONEND####
48
//=============================================================================
49
 
50
#include <pkgconf/hal_m68k.h>
51
#ifdef CYGINT_HAL_M68K_VARIANT_TYPES
52
# include <cyg/hal/var_basetype.h>
53
#endif
54
 
55
//-----------------------------------------------------------------------------
56
// Characterize the architecture: big-endian
57
#ifndef CYG_BYTEORDER
58
# define CYG_BYTEORDER   CYG_MSBFIRST
59
#endif
60
 
61
//-----------------------------------------------------------------------------
62
// 68k does not usually use labels with underscores. 
63
#define CYG_LABEL_NAME(_name_) _name_
64
 
65
// ----------------------------------------------------------------------------
66
// The 68k architecture uses the default definitions of the base types,
67
// so we do not need to define any here.
68
 
69
//-----------------------------------------------------------------------------
70
// Override the alignment definitions from cyg_type.h.
71
// Most 68k variants use a 4 byte alignment.
72
// A few variants (68000) may override this setting to use a 2 byte alignment.
73
#ifndef CYGARC_ALIGNMENT
74
# define CYGARC_ALIGNMENT 4
75
#endif
76
// the corresponding power of two alignment
77
#ifndef CYGARC_P2ALIGNMENT
78
# define CYGARC_P2ALIGNMENT 2
79
#endif
80
 
81
//-----------------------------------------------------------------------------
82
#endif // CYGONCE_HAL_BASETYPE_H

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.