Ignore:
Timestamp:
Aug 2, 2017, 2:36:58 PM (4 years ago)
Author:
max@…
Message:

Add a --no-smp option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_boot.S

    r243 r312  
    2292291:
    230230
     231        testl   $MULTIBOOT_INFO_HAS_CMDLINE,MB_MI_FLAGS(%ebx)
     232        jz      1f
     233        movl    MB_MI_CMDLINE(%ebx),%esi        /* src */
     234        movl    $RELOC(mb_cmdline),%edi         /* dst */
     235        movl    $PAGE_SIZE,%ecx /* len */
     236
     237        rep
     238        movsb   /* copy esi -> edi */
     2391:
     240
    231241/*
    232242 * There are four levels of pages in amd64: PML4 -> PDP -> PD -> PT. They will
Note: See TracChangeset for help on using the changeset viewer.