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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_GCC_banked/] [sys/] [param.h] - Blame information for rev 818

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

Line No. Rev Author Line
1 588 jeremybenn
/* param.h - Board specific parameters
2
   Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
3
   Written by Stephane Carrez (stcarrez@nerim.fr)
4
 
5
This file is free software; you can redistribute it and/or modify it
6
under the terms of the GNU General Public License as published by the
7
Free Software Foundation; either version 2, or (at your option) any
8
later version.
9
 
10
In addition to the permissions in the GNU General Public License, the
11
Free Software Foundation gives you unlimited permission to link the
12
compiled version of this file with other programs, and to distribute
13
those programs without any restriction coming from the use of this
14
file.  (The General Public License restrictions do apply in other
15
respects; for example, they cover modification of the file, and
16
distribution when not linked into another program.)
17
 
18
This file is distributed in the hope that it will be useful, but
19
WITHOUT ANY WARRANTY; without even the implied warranty of
20
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21
General Public License for more details.
22
 
23
You should have received a copy of the GNU General Public License
24
along with this program; see the file COPYING.  If not, write to
25
the Free Software Foundation, 59 Temple Place - Suite 330,
26
Boston, MA 02111-1307, USA.  */
27
 
28
#ifndef _SYS_PARAM_H
29
#define _SYS_PARAM_H
30
 
31
/*! Attribute unused.
32
    Use this attribute to indicate that a parameter, a variable or a
33
    static function is not used.  The compiler will not warn about the
34
    unused variable.  */
35
#define ATTRIBUTE_UNUSED __attribute__((unused))
36
 
37
/*! Attribute page0.
38
    Use this attribute to put a global or static variable in page0. */
39
#define PAGE0_ATTRIBUTE __attribute__((section(".page0")))
40
 
41
#ifdef mc6811
42
//# include <asm-m68hc11/param.h>
43
#endif
44
 
45
#ifdef mc68hcs12
46
# include <asm-m68hcs12/param.h>
47
#elif defined(mc6812)
48
//# include <asm-m68hc12/param.h>
49
#endif
50
 
51
#include <arch/param.h>
52
 
53
#define GNU_LINKER_WARNING(SYMBOL, MSG) \
54
  asm (".section .gnu.warning." SYMBOL "\n\t.string \"" MSG "\"\n\t.previous");
55
 
56
#endif

powered by: WebSVN 2.1.0

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