bitkeeper revision 1.1159.240.3 (4202bd17uoTYqnlSeqvW9fHjznmCHg)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
This commit is contained in:
iap10@labyrinth.cl.cam.ac.uk committed 2005-02-04 00:08:55 +00:00
commit 549450cbf5
5 files changed
+17 -1

No files matched your search

+4
View File
@@ -213,6 +213,10 @@ bx_cpu_c::cpu_loop(int max_instr_count)
#endif
interrupt(vector);
}
/* we check DMA after interrupt check*/
while(BX_HRQ){
DEV_dma_raise_hlda();
}
if (send_event) {
int ret;
+9
View File
@@ -182,6 +182,14 @@ bx_dma_c::init(void)
}
BX_DMA_THIS s[1].chan[0].used = 1; // cascade channel in use
BX_INFO(("channel 4 used by cascade"));
bios_init();
}
/* Remove it when guest fw ready*/
void
bx_dma_c::bios_init(void){
BX_DMA_THIS s[1].mask[0] = 0; // unmask cascade channel
BX_DMA_THIS s[1].chan[0].mode.mode_type = 3; // cascade mode for channel 4
}
void
@@ -189,6 +197,7 @@ bx_dma_c::reset(unsigned type)
{
reset_controller(0);
reset_controller(1);
bios_init();
}
void
+1
View File
@@ -46,6 +46,7 @@ public:
~bx_dma_c(void);
virtual void init(void);
virtual void bios_init(void);
virtual void reset(unsigned type);
virtual void raise_HLDA(void);
virtual void set_DRQ(unsigned channel, bx_bool val);
+2
View File
@@ -330,6 +330,8 @@ static void monitor_rm_pagetable(struct exec_domain *ed)
l2_pgentry_t *mpl2e;
unsigned long mpfn;
ASSERT( pagetable_val(m->monitor_table) );
mpl2e = (l2_pgentry_t *) map_domain_mem(pagetable_val(m->monitor_table));
/*
* First get the pfn for guest_pl2e_cache by looking at monitor_table
+1 -1
View File
@@ -372,7 +372,7 @@ static int inst_copy_from_guest(char *buf, unsigned long guest_eip, int inst_len
ma = (mfn << PAGE_SHIFT) | (guest_eip & (PAGE_SIZE - 1));
inst_start = (unsigned char *)map_domain_mem(ma);
strncpy(buf, inst_start, inst_len);
memcpy(buf, inst_start, inst_len);
unmap_domain_mem(inst_start);
} else {
// Todo: In two page frames
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.