Changeset a98cdc7 in mainline


Ignore:
Timestamp:
2006-04-29T11:07:12Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
429ff2ea
Parents:
11928d5
Message:

Fix amd64 SMP boot when tss for AP CPU gets allocated in memory >20MB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/pm.c

    r11928d5 ra98cdc7  
    3434#include <arch/asm.h>
    3535#include <interrupt.h>
     36#include <mm/as.h>
    3637
    3738#include <config.h>
     
    201202        }
    202203        else {
     204                /* We are going to use malloc, which may return
     205                 * non boot-mapped pointer, initialize the CR3 register
     206                 * ahead of page_init */
     207                write_cr3((__address) AS_KERNEL->page_table);
     208
    203209                tss_p = (struct tss *) malloc(sizeof(tss_t), FRAME_ATOMIC);
    204210                if (!tss_p)
Note: See TracChangeset for help on using the changeset viewer.