direct-io.hg

changeset 12474:ba4c40353fff

[MINIOS] Event channel hypercall update for 64-bit guests.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
author kfraser@localhost.localdomain
date Fri Nov 17 09:16:51 2006 +0000 (2006-11-17)
parents e343f1850be0
children b631e7885b5f
files extras/mini-os/Makefile extras/mini-os/include/events.h extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
line diff
     1.1 --- a/extras/mini-os/Makefile	Fri Nov 17 09:16:27 2006 +0000
     1.2 +++ b/extras/mini-os/Makefile	Fri Nov 17 09:16:51 2006 +0000
     1.3 @@ -122,6 +122,7 @@ clean:
     1.4  	rm -f *.o *~ core $(TARGET).elf $(TARGET).raw $(TARGET) $(TARGET).gz
     1.5  	rm -f libminios.a
     1.6  	find . -type l | xargs rm -f
     1.7 +	rm -f tags TAGS
     1.8  
     1.9  %.o: %.c $(HDRS) Makefile
    1.10  	$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
    1.11 @@ -137,4 +138,7 @@ endef
    1.12  cscope:
    1.13  	$(all_sources) > cscope.files
    1.14  	cscope -k -b -q
    1.15 -
    1.16 +    
    1.17 +.PHONY: tags
    1.18 +tags:
    1.19 +	$(all_sources) | xargs ctags
     2.1 --- a/extras/mini-os/include/events.h	Fri Nov 17 09:16:27 2006 +0000
     2.2 +++ b/extras/mini-os/include/events.h	Fri Nov 17 09:16:51 2006 +0000
     2.3 @@ -20,7 +20,7 @@
     2.4  #define _EVENTS_H_
     2.5  
     2.6  #include<traps.h>
     2.7 -#include <xen/event_channel.h>
     2.8 +#include<xen/event_channel.h>
     2.9  
    2.10  typedef void (*evtchn_handler_t)(evtchn_port_t, struct pt_regs *, void *);
    2.11  
     3.1 --- a/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h	Fri Nov 17 09:16:27 2006 +0000
     3.2 +++ b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h	Fri Nov 17 09:16:51 2006 +0000
     3.3 @@ -235,9 +235,9 @@ HYPERVISOR_update_va_mapping(
     3.4  
     3.5  static inline int
     3.6  HYPERVISOR_event_channel_op(
     3.7 -	void *op)
     3.8 +       int cmd, void *op)
     3.9  {
    3.10 -	return _hypercall1(int, event_channel_op, op);
    3.11 +    return _hypercall2(int, event_channel_op, cmd, op);
    3.12  }
    3.13  
    3.14  static inline int