Ignore:
File:
1 edited

Legend:

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

    r3526f4f3 r2a103b5  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
    32 * Copyright (c) 2001-2004 Jakub Jermar
     3 * Copyright (c) 2009 Jiri Svoboda
    44 * Copyright (c) 2009 Martin Decky
    55 * All rights reserved.
     
    3939#include <stdint.h>
    4040#include <errno.h>
    41 #include <memw.h>
     41#include <mem.h>
    4242#include <interrupt.h>
    4343#include <console/console.h>
     
    6161#include <arch/pm.h>
    6262#include <arch/vreg.h>
    63 #include <arch/mm/pat.h>
    6463
    6564#ifdef CONFIG_SMP
     
    105104{
    106105        pm_init();
    107 
    108 #ifndef PROCESSOR_i486
    109         /* Use PCD+PWT bit combination in PTE to mean write-combining mode. */
    110         if (pat_supported())
    111                 pat_set_mapping(false, true, true, PAT_TYPE_WRITE_COMBINING);
    112 #endif
    113106
    114107        if (config.cpu_active == 1) {
     
    216209            ns16550_out_ptr);
    217210        if (ns16550_instance) {
    218                 ns16550_format_set(ns16550_instance, 38400,
    219                     LCR_PARITY_NONE | LCR_STOP_BIT_TWO | LCR_WORD_LEN_8);
    220211#ifdef CONFIG_NS16550
    221212                srln_instance_t *srln_instance = srln_init();
Note: See TracChangeset for help on using the changeset viewer.