direct-io.hg

changeset 12934:020fc58ba873

[POWERPC][XEN] Hide builtin dom0 args from Xen.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Hollis Blanchard <hollisb@us.ibm.com>
date Wed Oct 04 17:27:16 2006 -0500 (2006-10-04)
parents 94a2909a7f20
children b58670602d35
files xen/arch/powerpc/boot_of.c
line diff
     1.1 --- a/xen/arch/powerpc/boot_of.c	Wed Oct 04 17:22:59 2006 -0500
     1.2 +++ b/xen/arch/powerpc/boot_of.c	Wed Oct 04 17:27:16 2006 -0500
     1.3 @@ -1022,6 +1022,8 @@ static void * __init boot_of_module(ulon
     1.4                mods[mod].mod_start, mods[mod].mod_end);
     1.5      p = strstr((char *)(ulong)mbi->cmdline, sepr);
     1.6      if (p != NULL) {
     1.7 +        /* Xen proper should never know about the dom0 args.  */
     1.8 +        *(char *)p = '\0';
     1.9          p += sizeof (sepr) - 1;
    1.10          mods[mod].string = (u32)(ulong)p;
    1.11          of_printf("%s: dom0 mod string: %s\n", __func__, p);