Changeset e037cf37 in mainline for kernel/generic/src/ddi/ddi.c


Ignore:
Timestamp:
2020-12-29T22:17:21Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11e394f, d70dc1c4
Parents:
1483981
Message:

Show kernel console again when its physical area is unmapped

It's good to be able to see the stack trace if e.g. display server
crashes.

File:
1 edited

Legend:

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

    r1483981 re037cf37  
    107107}
    108108
     109/** Norify physical area has been unmapped.
     110 *
     111 * @param parea Physical area
     112 */
     113void ddi_parea_unmap_notify(parea_t *parea)
     114{
     115        parea->mapped = false;
     116        if (parea->mapped_changed != NULL)
     117                parea->mapped_changed(parea->arg);
     118}
     119
    109120/** Map piece of physical memory into virtual address space of current task.
    110121 *
     
    204215
    205216map:
     217        backend_data.parea = parea;
     218
    206219        if (!as_area_create(TASK->as, flags, FRAMES2SIZE(pages),
    207220            AS_AREA_ATTR_NONE, &phys_backend, &backend_data, virt, bound)) {
Note: See TracChangeset for help on using the changeset viewer.