/[dynamips]/trunk/dev_mv64460.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/dev_mv64460.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (hide annotations)
Sat Oct 6 16:23:47 2007 UTC (16 years, 5 months ago) by dpavlin
Original Path: upstream/dynamips-0.2.7-RC1/dev_mv64460.h
File MIME type: text/plain
File size: 871 byte(s)
dynamips-0.2.7-RC1

1 dpavlin 7 /*
2     * Cisco Router Simulation platform.
3     * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr)
4     */
5    
6     #ifndef __DEV_MV64460_H__
7     #define __DEV_MV64460_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     struct mv64460_data;
18    
19     /* Create a new MV64460 controller */
20     int dev_mv64460_init(vm_instance_t *vm,char *name,
21     m_uint64_t paddr,m_uint32_t len);
22    
23     /* Bind a VTTY to a SDMA channel */
24     int mv64460_sdma_bind_vtty(struct mv64460_data *d,u_int chan_id,vtty_t *vtty);
25    
26     /* Set value of GPP register */
27     void dev_mv64460_set_gpp_reg(struct mv64460_data *d,m_uint32_t val);
28    
29     /* Set a GPP interrupt */
30     void dev_mv64460_set_gpp_intr(struct mv64460_data *d,u_int irq);
31    
32     /* Clear a GPP interrupt */
33     void dev_mv64460_clear_gpp_intr(struct mv64460_data *d,u_int irq);
34    
35     #endif

  ViewVC Help
Powered by ViewVC 1.1.26