Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/ia32.c

    rb169619 rde96d3b  
    6161#include <arch/pm.h>
    6262#include <arch/vreg.h>
     63#include <arch/mm/pat.h>
    6364
    6465#ifdef CONFIG_SMP
     
    104105{
    105106        pm_init();
     107
     108        /* Use PCD+PWT bit combination in PTE to mean write-combining mode. */
     109        if (pat_supported())
     110                pat_set_mapping(false, true, true, PAT_TYPE_WRITE_COMBINING);
    106111
    107112        if (config.cpu_active == 1) {
Note: See TracChangeset for help on using the changeset viewer.