ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

Definition at line 45 of file xipdisp.c.

Referenced by Phase1InitializationDiscard().

{
    PCHAR CommandLine, XipBoot, XipRom, XipMegs, XipVerbose, XipRam;
    PMEMORY_ALLOCATION_DESCRIPTOR XipDescriptor;

    /* Get the command line */
    CommandLine = LoaderBlock->LoadOptions;
    if (!CommandLine) return;

    /* Get XIP settings */
    XipBoot = strstr(CommandLine, "XIPBOOT");
    XipRam = strstr(CommandLine, "XIPRAM=");
    XipRom = strstr(CommandLine, "XIPROM=");
    XipMegs = strstr(CommandLine, "XIPMEGS=");
    XipVerbose = strstr(CommandLine, "XIPVERBOSE");

    /* Check if this is a verbose boot */
    if (XipVerbose)
    {
        /* Print out our header */
        DbgPrint("\n\nXIP: debug timestamp at line %d in %s:   <<<%s %s>>>\n\n",
                 __LINE__,
                 __FILE__,
                 __DATE__,
                 __TIME__);
    }

    /* Find the XIP memory descriptor */
    XipDescriptor = XIPpFindMemoryDescriptor(LoaderBlock);
    if (!XipDescriptor) return;
    
    //
    // Make sure this is really XIP, and not RAM Disk -- also validate XIP
    // Basically, either this is a ROM boot or a RAM boot, but not both nor none
    //
    if (!((ULONG_PTR)XipRom ^ (ULONG_PTR)XipRam)) return;

    /* FIXME: TODO */
    DPRINT1("ReactOS does not yet support eXecute In Place boot technology\n");
    DPRINT("%s MB requested (XIP = %s)\n", XipMegs, XipBoot);
}

Generated on Fri May 25 2012 06:04:42 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.