Applied the first batch of upstream commits.

This commit is contained in:
waltje
2018-03-18 04:55:11 -05:00
parent 1c60e22813
commit 0adb26c1f9
23 changed files with 1093 additions and 1220 deletions

View File

@@ -8,7 +8,7 @@
*
* Memory handling and MMU.
*
* Version: @(#)mem.c 1.0.6 2018/03/16
* Version: @(#)mem.c 1.0.7 2018/03/17
*
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Miran Grca, <mgrca8@gmail.com>
@@ -1750,6 +1750,8 @@ mem_reset_page_blocks(void)
void
mem_reset_page_blocks(void)
{
int c;
if (pages == NULL) return;
for (c = 0; c < ((mem_size * 1024) >> 12); c++) {