2011-12-22 15:19:25 +00:00
|
|
|
/*
|
|
|
|
* \brief PL050 PS/2 controller definitions for the VersatilePB platform
|
|
|
|
* \author Norman Feske
|
|
|
|
* \date 2010-03-23
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2012-01-03 14:35:05 +00:00
|
|
|
* Copyright (C) 2010-2012 Genode Labs GmbH
|
2011-12-22 15:19:25 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU General Public License version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE__PLATFORM__VERSATILEPB__PL050_DEFS_H_
|
|
|
|
#define _INCLUDE__PLATFORM__VERSATILEPB__PL050_DEFS_H_
|
|
|
|
|
|
|
|
enum {
|
|
|
|
PL050_KEYBD_PHYS = 0x10006000, PL050_KEYBD_SIZE = 0x1000,
|
|
|
|
PL050_MOUSE_PHYS = 0x10007000, PL050_MOUSE_SIZE = 0x1000,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interrupt lines
|
|
|
|
*/
|
|
|
|
SIC_IRQ_OFFSET = 31,
|
|
|
|
PL050_KEYBD_SIC_IRQ = 3,
|
|
|
|
PL050_MOUSE_SIC_IRQ = 4,
|
|
|
|
|
|
|
|
PL050_KEYBD_IRQ = SIC_IRQ_OFFSET + PL050_KEYBD_SIC_IRQ,
|
|
|
|
PL050_MOUSE_IRQ = SIC_IRQ_OFFSET + PL050_MOUSE_SIC_IRQ,
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _INCLUDE__PLATFORM__VERSATILEPB__PL050_DEFS_H_ */
|