/[dynamips]/upstream/dynamips-0.2.7-RC1/ppc32_vmtest.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

Contents of /upstream/dynamips-0.2.7-RC1/ppc32_vmtest.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (show annotations)
Sat Oct 6 16:23:47 2007 UTC (16 years, 5 months ago) by dpavlin
File MIME type: text/plain
File size: 823 byte(s)
dynamips-0.2.7-RC1

1 /*
2 * Cisco router simulation platform.
3 * Copyright (c) 2006 Christophe Fillot (cf@utc.fr)
4 *
5 * PowerPC VM experimentations.
6 */
7
8 #ifndef __PPC32_VMTEST_H__
9 #define __PPC32_VMTEST_H__
10
11 #include <pthread.h>
12
13 #include "utils.h"
14 #include "net.h"
15 #include "device.h"
16 #include "pci_dev.h"
17 #include "vm.h"
18
19 /* Default parameters of the test VM */
20 #define PPC32_VMTEST_DEFAULT_RAM_SIZE 256
21
22 /* Create a new test instance */
23 vm_instance_t *ppc32_vmtest_create_instance(char *name,int instance_id);
24
25 /* Delete a router instance */
26 int ppc32_vmtest_delete_instance(char *name);
27
28 /* Delete all router instances */
29 int ppc32_vmtest_delete_all_instances(void);
30
31 /* Initialize a test instance */
32 int ppc32_vmtest_init_instance(vm_instance_t *vm);
33
34 /* Stop a test instance */
35 int ppc32_vmtest_stop_instance(vm_instance_t *vm);
36
37 #endif

  ViewVC Help
Powered by ViewVC 1.1.26