genode/repos/os/include/platform/vpb926/pl050_defs.h
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

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_ */