|
|
1.1 ! root 1: /* ! 2: * Cisco Router Simulation platform. ! 3: * Copyright (c) 2005,2006 Christophe Fillot ([email protected]) ! 4: */ ! 5: ! 6: #ifndef __DEV_MPC860_H__ ! 7: #define __DEV_MPC860_H__ ! 8: ! 9: #include <sys/types.h> ! 10: #include "utils.h" ! 11: #include "mips64.h" ! 12: #include "cpu.h" ! 13: #include "device.h" ! 14: #include "net_io.h" ! 15: #include "vm.h" ! 16: ! 17: /* Forward declaration for MPC860 private data */ ! 18: struct mpc860_data; ! 19: ! 20: /* Set IRQ pending status */ ! 21: void mpc860_set_pending_irq(struct mpc860_data *d,m_uint32_t val); ! 22: ! 23: /* Clear a pending IRQ */ ! 24: void mpc860_clear_pending_irq(struct mpc860_data *d,m_uint32_t val); ! 25: ! 26: /* Create the MPC860 device */ ! 27: int dev_mpc860_init(vm_instance_t *vm,char *name, ! 28: m_uint64_t paddr,m_uint32_t len); ! 29: ! 30: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.