Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3164e3b in mainline


Ignore:
Timestamp:
2012-02-26T19:23:51Z (10 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master
Children:
2b4ae501
Parents:
b64fbc9
Message:

Allow mapping reserved physical memory zones to privileged userspace tasks.

This fixes the APIC server not able to enable PIO on my hardware.
Thx Jakub Jermar for helping me to resolve the issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ddi/ddi.c

    rb64fbc9 r3164e3b  
    166166        }
    167167       
    168         if (zones.info[znum].flags & ZONE_FIRMWARE) {
    169                 /*
    170                  * Frames are part of firmware
     168        if (zones.info[znum].flags & (ZONE_FIRMWARE | ZONE_RESERVED)) {
     169                /*
     170                 * Frames are part of firmware or reserved zone
    171171                 * -> allow mapping for privileged tasks.
    172172                 */
Note: See TracChangeset for help on using the changeset viewer.