INTERFACE [arm && pxa]: // -------------------------------------
+#include "initcalls.h"
#include "kmem.h"
EXTENSION class Pic
{
public:
+ typedef Mword Status;
enum {
ICIP = 0x000000,
ICMR = 0x000004,
INTERFACE [arm && sa1100]: // ----------------------------------
+#include "initcalls.h"
#include "kmem.h"
EXTENSION class Pic
{
public:
+ typedef Mword Status;
enum {
ICIP = 0x00000,
ICMR = 0x00004,
IMPLEMENTATION [arm && (sa1100 || pxa)]:
#include "assert.h"
-#include "initcalls.h"
#include "config.h"
#include "irq_chip_generic.h"
#include "irq_mgr.h"
static Static_object<Irq_mgr_single_chip<Chip> > mgr;
-IMPLEMENT FIASCO_INIT
+PUBLIC static FIASCO_INIT
void Pic::init()
{
Irq_mgr::mgr = mgr.construct();
}
// for JDB only
-IMPLEMENT
+PUBLIC
Pic::Status Pic::disable_all_save()
{ return mgr->c.disable_all_save(); }
-IMPLEMENT
+PUBLIC
void
Pic::restore_all(Status s)
{