mirror of
https://github.com/drasko/codezero.git
synced 2026-01-17 21:33:15 +01:00
Changes since April
Clean up of build directories. Simplifications to capability model.
This commit is contained in:
13
conts/userlibs/libdev/include/dev/platform/beagle/irq.h
Normal file
13
conts/userlibs/libdev/include/dev/platform/beagle/irq.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* IRQ numbers for beagle board.
|
||||
*
|
||||
* Copyright (C) 2010 B Labs Ltd.
|
||||
*
|
||||
*/
|
||||
#ifndef __LIBDEV_BEAGLE_IRQ_H__
|
||||
#define __LIBDEV_BEAGLE_IRQ_H__
|
||||
|
||||
#define IRQ_TIMER0 37
|
||||
#define IRQ_TIMER1 38
|
||||
|
||||
#endif /* __LIBDEV_BEAGLE_IRQ_H__ */
|
||||
13
conts/userlibs/libdev/include/dev/platform/beagle/platform.h
Normal file
13
conts/userlibs/libdev/include/dev/platform/beagle/platform.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Platform offsets for beagle board.
|
||||
*
|
||||
* Copyright (C) 2010 B Labs Ltd.
|
||||
*
|
||||
*/
|
||||
#ifndef __LIBDEV_PLATFORM_BEAGLE_H__
|
||||
#define __LIBDEV_PLATFORM_BEAGLE_H__
|
||||
|
||||
#define PLATFORM_TIMER1_BASE 0x49032000 /* GPTIMER2 */
|
||||
#define PLATFORM_TIMER2_BASE 0x49034000 /* GPTIMER3 */
|
||||
|
||||
#endif /* __LIBDEV_PLATFORM_BEAGLE_H__ */
|
||||
22
conts/userlibs/libdev/include/dev/platform/eb/irq.h
Normal file
22
conts/userlibs/libdev/include/dev/platform/eb/irq.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* IRQ numbers for eb.
|
||||
*
|
||||
* Copyright (C) 2010 B Labs Ltd.
|
||||
*
|
||||
*/
|
||||
#ifndef __LIBDEV_EB_IRQ_H__
|
||||
#define __LIBDEV_EB_IRQ_H__
|
||||
|
||||
#if defined (CONFIG_CPU_ARM11MPCORE) || defined (CONFIG_CPU_CORTEXA9)
|
||||
#define IRQ_TIMER1 34
|
||||
#define IRQ_KEYBOARD0 39
|
||||
#define IRQ_MOUSE0 40
|
||||
#define IRQ_CLCD0 55
|
||||
#else
|
||||
#define IRQ_TIMER1 37
|
||||
#define IRQ_KEYBOARD0 52
|
||||
#define IRQ_MOUSE0 53
|
||||
#define IRQ_CLCD0 55
|
||||
#endif /* CONFIG_CPU_ARM11MPCORE || CONFIG_CPU_CORTEXA9 */
|
||||
|
||||
#endif /* __LIBDEV_EB_IRQ_H__ */
|
||||
14
conts/userlibs/libdev/include/dev/platform/eb/platform.h
Normal file
14
conts/userlibs/libdev/include/dev/platform/eb/platform.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Platform offsets for eb.
|
||||
*
|
||||
* Copyright (C) 2010 B Labs Ltd.
|
||||
*
|
||||
*/
|
||||
#ifndef __LIBDEV_PLATFORM_EB_H__
|
||||
#define __LIBDEV_PLATFORM_EB_H__
|
||||
|
||||
#include <dev/platform/realview/platform.h>
|
||||
|
||||
#define PLATFORM_CLCD0_BASE 0x10020000 /* CLCD0 */
|
||||
|
||||
#endif /* __LIBDEV_PLATFORM_EB_H__ */
|
||||
15
conts/userlibs/libdev/include/dev/platform/pb926/irq.h
Normal file
15
conts/userlibs/libdev/include/dev/platform/pb926/irq.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* IRQ numbers for pb926.
|
||||
*
|
||||
* Copyright (C) 2010 B Labs Ltd.
|
||||
*
|
||||
*/
|
||||
#ifndef __LIBDEV_PB926_IRQ_H__
|
||||
#define __LIBDEV_PB926_IRQ_H__
|
||||
|
||||
#define IRQ_TIMER1 5
|
||||
#define IRQ_CLCD0 16
|
||||
#define IRQ_KEYBOARD0 34
|
||||
#define IRQ_MOUSE0 35
|
||||
|
||||
#endif /* __LIBDEV_PB926_IRQ_H__ */
|
||||
15
conts/userlibs/libdev/include/dev/platform/pb926/platform.h
Normal file
15
conts/userlibs/libdev/include/dev/platform/pb926/platform.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Platform offsets for pb926.
|
||||
*
|
||||
* Copyright (C) 2010 B Labs Ltd.
|
||||
*
|
||||
*/
|
||||
#ifndef __LIBDEV_PLATFORM_PB926_H__
|
||||
#define __LIBDEV_PLATFORM_PB926_H__
|
||||
|
||||
#define PLATFORM_KEYBOARD0_BASE 0x10006000 /* Keyboard */
|
||||
#define PLATFORM_MOUSE0_BASE 0x10007000 /* Mouse */
|
||||
#define PLATFORM_TIMER1_BASE 0x101E3000 /* Timers 2 and 3 */
|
||||
#define PLATFORM_CLCD0_BASE 0x10120000 /* Color LCD */
|
||||
|
||||
#endif /* __LIBDEV_PLATFORM_PB926_H__ */
|
||||
15
conts/userlibs/libdev/include/dev/platform/pba9/irq.h
Normal file
15
conts/userlibs/libdev/include/dev/platform/pba9/irq.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* IRQ numbers for pba9.
|
||||
*
|
||||
* Copyright (C) 2010 B Labs Ltd.
|
||||
*
|
||||
*/
|
||||
#ifndef __LIBDEV_PBA9_IRQ_H__
|
||||
#define __LIBDEV_PBA9_IRQ_H__
|
||||
|
||||
#define IRQ_TIMER1 35
|
||||
#define IRQ_KEYBOARD0 44
|
||||
#define IRQ_MOUSE0 45
|
||||
#define IRQ_CLCD0 46
|
||||
|
||||
#endif /* __LIBDEV_PBA9_IRQ_H__ */
|
||||
14
conts/userlibs/libdev/include/dev/platform/pba9/platform.h
Normal file
14
conts/userlibs/libdev/include/dev/platform/pba9/platform.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Platform offsets for versatile express.
|
||||
*
|
||||
* Copyright (C) 2010 B Labs Ltd.
|
||||
*
|
||||
*/
|
||||
#ifndef __LIBDEV_PLATFORM_PBA9_H__
|
||||
#define __LIBDEV_PLATFORM_PBA9_H__
|
||||
|
||||
#include <dev/platform/realview/platform.h>
|
||||
|
||||
#define PLATFORM_CLCD0_BASE 0x1001F000 /* CLCD */
|
||||
|
||||
#endif /* __LIBDEV_PLATFORM_PBA9_H__ */
|
||||
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Common Platform offsets for realview platforms.
|
||||
* It includes:
|
||||
* a. pba9
|
||||
* b. eb
|
||||
*
|
||||
* Copyright (C) 2010 B Labs Ltd.
|
||||
*
|
||||
*/
|
||||
#ifndef __LIBDEV_PLATFORM_REALVIEW_H__
|
||||
#define __LIBDEV_PLATFORM_REALVIEW_H__
|
||||
|
||||
#define PLATFORM_KEYBOARD0_BASE 0x10006000 /* Keyboard */
|
||||
#define PLATFORM_MOUSE0_BASE 0x10007000 /* Mouse */
|
||||
#define PLATFORM_TIMER1_BASE 0x10012000 /* Timers 2 and 3 */
|
||||
|
||||
#endif /* __LIBDEV_PLATFORM_REALVIEW_H__ */
|
||||
Reference in New Issue
Block a user