direct-io.hg

changeset 1149:feda0390e00d

bitkeeper revision 1.769 (40490fd2Q8m3cqtseHd74X5ZQEP1vA)

8139too.c, setup.c, Xeno-HOWTO.txt, Makefile:
Cleanups.
author kaf24@scramble.cl.cam.ac.uk
date Fri Mar 05 23:40:02 2004 +0000 (2004-03-05)
parents d0dacd33c1db
children 46a99d9ef884
files Makefile docs/Xeno-HOWTO.txt xen/arch/i386/setup.c xen/drivers/net/8139too.c
line diff
     1.1 --- a/Makefile	Fri Mar 05 23:15:11 2004 +0000
     1.2 +++ b/Makefile	Fri Mar 05 23:40:02 2004 +0000
     1.3 @@ -4,7 +4,10 @@
     1.4  # Builds everything except Xenolinux:
     1.5  #  cd xenolinux-<version>-sparse
     1.6  #  ./mkbuildtree <build dir>
     1.7 -#  cd <build dir> && ARCH=xeno make oldconfig dep bzImage
     1.8 +#  cd <build dir>
     1.9 +#  ARCH=xeno make oldconfig
    1.10 +#  ARCH=xeno make dep
    1.11 +#  ARCH=xeno make bzImage
    1.12  #  (<build dir> should be a vanilla linux tree with matching version)
    1.13  
    1.14  all:	
     2.1 --- a/docs/Xeno-HOWTO.txt	Fri Mar 05 23:15:11 2004 +0000
     2.2 +++ b/docs/Xeno-HOWTO.txt	Fri Mar 05 23:40:02 2004 +0000
     2.3 @@ -96,7 +96,8 @@ if you want.
     2.4  
     2.5    # cd /xeno-1.2.bk/xenolinux-2.4.24
     2.6    # ARCH=xeno make oldconfig   { or menuconfig, or xconfig, or config }  
     2.7 -  # ARCH=xeno make dep bzImage
     2.8 +  # ARCH=xeno make dep
     2.9 +  # ARCH=xeno make bzImage
    2.10  
    2.11  Assuming the build works, you'll end up with
    2.12  /xeno-1.2.bk/xenolinux-2.4.24/arch/xeno/boot/xenolinux.gz. This is the
     3.1 --- a/xen/arch/i386/setup.c	Fri Mar 05 23:15:11 2004 +0000
     3.2 +++ b/xen/arch/i386/setup.c	Fri Mar 05 23:40:02 2004 +0000
     3.3 @@ -323,9 +323,11 @@ void __init start_of_day(void)
     3.4      extern int do_timer_lists_from_pit;
     3.5      unsigned long low_mem_size;
     3.6      
     3.7 +#ifdef MEMORY_GUARD
     3.8      /* Unmap the first page of CPU0's stack. */
     3.9      extern unsigned long cpu0_stack[];
    3.10      memguard_guard_range(cpu0_stack, PAGE_SIZE);
    3.11 +#endif
    3.12  
    3.13      if ( opt_watchdog ) 
    3.14          nmi_watchdog = NMI_LOCAL_APIC;
     4.1 --- a/xen/drivers/net/8139too.c	Fri Mar 05 23:15:11 2004 +0000
     4.2 +++ b/xen/drivers/net/8139too.c	Fri Mar 05 23:40:02 2004 +0000
     4.3 @@ -138,11 +138,7 @@ typedef int pid_t;
     4.4  /* define to 1 to disable lightweight runtime debugging checks */
     4.5  #undef RTL8139_NDEBUG
     4.6  
     4.7 -#ifdef XEN
     4.8 -#define RTL8139_DEBUG 1
     4.9 -#define RTL8139_NDEBUG 1
    4.10  #undef DPRINTK
    4.11 -#endif
    4.12  
    4.13  #ifdef RTL8139_DEBUG
    4.14  /* note: prints function name for you */
    4.15 @@ -2701,7 +2697,7 @@ static int __init rtl8139_init_module (v
    4.16  	/* when we're a module, we always print a version message,
    4.17  	 * even if no 8139 board is found.
    4.18  	 */
    4.19 -#if defined(MODULE) || defined(XEN)
    4.20 +#if defined(MODULE)
    4.21  	printk (KERN_INFO RTL8139_DRIVER_NAME "\n");
    4.22  #endif
    4.23