NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
PIC8259 emulation. More...
#include "nul/motherboard.h"
Classes | |
class | PicDevice |
An implementation of the Intel 8259. More... |
Functions | |
PARAM_HANDLER (pic,"pic:iobase,(irq),(elcr) - Attach an PIC8259 at the given iobase.","Example: 'pic:0x20,,0x4d0 pic:0xa0,2'","The first PIC is always the master. An irq can be given when creating","a slave pic. The irqlines are automatically distributed, such that","the first pic gets 0-7, the second one 8-15,... The optional elcr","parameter specifies the io address of the ELCR register") |
PIC8259 emulation.
Copyright (C) 2007-2009, Bernhard Kauer bk@vm Economic rights: Technische Universitaet Dresden (Germany) mon. org
This file is part of Vancouver.
Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.
PARAM_HANDLER | ( | pic | , |
"pic:iobase | , | ||
(irq) | , | ||
(elcr)-Attach an PIC8259 at the given iobase." | , | ||
"Example: 'pic:0x20 | , | ||
0x4d0 pic:0xa0 | , | ||
2'" | , | ||
"The first PIC is always the master. An irq can be given when creating" | , | ||
"a slave pic. The irqlines are automatically | distributed, | ||
such that" | , | ||
"the first pic gets 0- | 7, | ||
the second one 8- | 15, | ||
...The optional elcr" | , | ||
"parameter specifies the io address of the ELCR register" | |||
) |