64 |
VM_TYPE_C3725, |
VM_TYPE_C3725, |
65 |
VM_TYPE_C3745, |
VM_TYPE_C3745, |
66 |
VM_TYPE_C2600, |
VM_TYPE_C2600, |
67 |
|
VM_TYPE_MSFC1, |
68 |
VM_TYPE_PPC32_TEST, |
VM_TYPE_PPC32_TEST, |
69 |
}; |
}; |
70 |
|
|
145 |
/* Ghost RAM image handling */ |
/* Ghost RAM image handling */ |
146 |
int ghost_status; |
int ghost_status; |
147 |
|
|
148 |
|
/* Timer IRQ interval check */ |
149 |
|
u_int timer_irq_check_itv; |
150 |
|
|
151 |
/* "idling" pointer counter */ |
/* "idling" pointer counter */ |
152 |
m_uint64_t idle_pc; |
m_uint64_t idle_pc; |
153 |
|
|
154 |
/* Timer IRQ interval check */ |
/* JIT block direct jumps */ |
155 |
u_int timer_irq_check_itv; |
int exec_blk_direct_jump; |
156 |
|
|
157 |
|
/* IRQ idling preemption */ |
158 |
|
u_int irq_idle_preempt[256]; |
159 |
|
|
160 |
/* Console and AUX port VTTY type and parameters */ |
/* Console and AUX port VTTY type and parameters */ |
161 |
int vtty_con_type,vtty_aux_type; |
int vtty_con_type,vtty_aux_type; |
172 |
ssize_t (*nvram_extract_config)(vm_instance_t *vm,char **buffer); |
ssize_t (*nvram_extract_config)(vm_instance_t *vm,char **buffer); |
173 |
int (*nvram_push_config)(vm_instance_t *vm,char *buffer,size_t len); |
int (*nvram_push_config)(vm_instance_t *vm,char *buffer,size_t len); |
174 |
|
|
175 |
/* Chassis cookie (for c2600 and maybe other routers */ |
/* Chassis cookie (for c2600 and maybe other routers) */ |
176 |
m_uint16_t chassis_cookie[64]; |
m_uint16_t chassis_cookie[64]; |
177 |
|
|
178 |
/* Specific hardware data */ |
/* Specific hardware data */ |
188 |
#define VM_C3725(vm) ((c3725_t *)vm->hw_data) |
#define VM_C3725(vm) ((c3725_t *)vm->hw_data) |
189 |
#define VM_C3745(vm) ((c3745_t *)vm->hw_data) |
#define VM_C3745(vm) ((c3745_t *)vm->hw_data) |
190 |
#define VM_C2600(vm) ((c2600_t *)vm->hw_data) |
#define VM_C2600(vm) ((c2600_t *)vm->hw_data) |
191 |
|
#define VM_MSFC1(vm) ((msfc1_t *)vm->hw_data) |
192 |
|
|
193 |
extern int vm_file_naming_type; |
extern int vm_file_naming_type; |
194 |
|
|