Changeset f2cb80a in mainline for kernel/arch/amd64/src/amd64.c


Ignore:
Timestamp:
2024-02-23T17:57:23Z (11 months ago)
Author:
GitHub <noreply@…>
Children:
192019f
Parents:
86f862c (diff), 90ba06c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2024-02-23 17:57:23)
git-committer:
GitHub <noreply@…> (2024-02-23 17:57:23)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 edited

Legend:

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

    r86f862c rf2cb80a  
    6060#include <arch/vreg.h>
    6161#include <arch/kseg.h>
     62#include <arch/mm/pat.h>
    6263#include <genarch/pic/pic_ops.h>
    6364
     
    115116        /* Disable alignment check */
    116117        write_cr0(read_cr0() & ~CR0_AM);
     118
     119        /* Use PCD+PWT bit combination in PTE to mean write-combining mode. */
     120        if (pat_supported())
     121                pat_set_mapping(false, true, true, PAT_TYPE_WRITE_COMBINING);
    117122
    118123        if (config.cpu_active == 1) {
Note: See TracChangeset for help on using the changeset viewer.