direct-io.hg

changeset 10329:bb89ec7765c7

Initialize the entire hypercall page when running a ring0 kernel

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian.Campbell@xensource.com
date Mon Jun 12 18:23:42 2006 +0100 (2006-06-12)
parents 6bffed2aa78b
children cede50ca1704
files xen/arch/x86/x86_32/traps.c
line diff
     1.1 --- a/xen/arch/x86/x86_32/traps.c	Mon Jun 12 17:56:20 2006 +0100
     1.2 +++ b/xen/arch/x86/x86_32/traps.c	Mon Jun 12 18:23:42 2006 +0100
     1.3 @@ -460,7 +460,7 @@ static void hypercall_page_initialise_ri
     1.4  
     1.5      /* Fill in all the transfer points with template machine code. */
     1.6  
     1.7 -    for ( i = 0; i < NR_hypercalls; i++ )
     1.8 +    for ( i = 0; i < (PAGE_SIZE / 32); i++ )
     1.9      {
    1.10          p = (char *)(hypercall_page + (i * 32));
    1.11