Changeset e037cf37 in mainline for kernel/generic/include/ddi/ddi.h


Ignore:
Timestamp:
2020-12-29T22:17:21Z (3 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/include/ddi/ddi.h

    r1483981 re037cf37  
    4242
    4343/** Structure representing contiguous physical memory area. */
    44 typedef struct {
     44typedef struct parea {
    4545        /** Link to @c pareas ordered dictionary */
    4646        odlink_t lpareas;
     
    5454        /** Indicate whether the area is actually mapped. */
    5555        bool mapped;
     56        /** Called when @c mapped field has changed */
     57        void (*mapped_changed)(void *);
     58        /** Callback argument */
     59        void *arg;
    5660} parea_t;
    5761
     
    5963extern void ddi_parea_init(parea_t *);
    6064extern void ddi_parea_register(parea_t *);
     65extern void ddi_parea_unmap_notify(parea_t *);
    6166
    6267extern void *pio_map(void *, size_t);
Note: See TracChangeset for help on using the changeset viewer.