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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_GCC_banked/] [cpu.h] - Blame information for rev 590

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

Line No. Rev Author Line
1 588 jeremybenn
/**
2
 * sci.c controls SCI for GCC/HCS12 version of FreeRTOS Demo
3
 * To replace CodeWarrior Cpu.h
4
 *
5
 * Author Jefferson L Smith, Robotronics Inc.
6
 */
7
 
8
#ifndef __Cpu
9
#define __Cpu
10
 
11
/*Types definition*/
12
typedef unsigned char bool;
13
typedef unsigned char byte;
14
typedef unsigned int word;
15
typedef unsigned long dword;
16
 
17
#define ATTR_INT        __attribute__((interrupt))
18
#define ATTR_FAR        __attribute__((far))
19
#define ATTR_NEAR       __attribute__((near))
20
#define ATTR_BANK0      __attribute__((far,section (".bank0")))
21
#define ATTR_BANK1      __attribute__((far,section (".bank1")))
22
#define ATTR_BANK2      __attribute__((far,section (".bank2")))
23
#define ATTR_BANK3      __attribute__((far,section (".bank3")))
24
#define ATTR_BANK4      __attribute__((far,section (".bank4")))
25
#define ATTR_BANK5      __attribute__((far,section (".bank5")))
26
#define ATTR_BANK6      __attribute__((far,section (".bank6")))
27
#define ATTR_BANK7      __attribute__((far,section (".bank7")))
28
#define ATTR_BANK8      __attribute__((far,section (".bank8")))
29
#define ATTR_BANK9      __attribute__((far,section (".bank9")))
30
#define ATTR_BANK10     __attribute__((far,section (".bank10")))
31
#define ATTR_BANK11     __attribute__((far,section (".bank11")))
32
#define ATTR_BANK12     __attribute__((far,section (".bank12")))
33
#define ATTR_BANK13     __attribute__((far,section (".bank13")))
34
 
35
#include "PE_Error.h"
36
#include <sys/param.h>
37
#include <sys/ports.h>
38
 
39
#endif /* ifndef __Cpu */

powered by: WebSVN 2.1.0

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