Changeset 05411e8 in mainline


Ignore:
Timestamp:
2010-04-28T19:18:11Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a3900cc
Parents:
b8f7ea78
Message:

Panic the kernel during a blocking request to allocate physical memory if not
running in a thread context (e.g. during system start-up).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/frame.c

    rb8f7ea78 r05411e8  
    10331033                spinlock_unlock(&zones.lock);
    10341034                interrupts_restore(ipl);
     1035
     1036                if (!THREAD)
     1037                        panic("Cannot wait for memory to become available.");
    10351038               
    10361039                /*
Note: See TracChangeset for help on using the changeset viewer.