genode/repos/os/include/platform/vpb926/pl050_defs.h

33 lines
837 B
C

/*
* \brief PL050 PS/2 controller definitions for the VersatilePB platform
* \author Norman Feske
* \date 2010-03-23
*/
/*
* Copyright (C) 2010-2013 Genode Labs GmbH
*
* 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_ */