Commit 037c5b4
committed
kernel/process_standard: Handle null minimum RAM memory
On some architectures, the minimum ammount of memory required to run a
process may be null. This caused a panic in the kernel during
ProcessStandard::create(). The case is now handled by asking the memory
manager for 1 byte if the architecture specifies a null ammount of
memory.
Signed-off-by: Ioan-Cristian CÎRSTEA <ioan.cirstea@oxidos.io>1 parent d1bb660 commit 037c5b4
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1622 | 1622 | | |
1623 | 1623 | | |
1624 | 1624 | | |
1625 | | - | |
| 1625 | + | |
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
1629 | 1639 | | |
1630 | 1640 | | |
1631 | 1641 | | |
| |||
0 commit comments