Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113355
b: refs/heads/master
c: 1e22436
h: refs/heads/master
i:
  113353: d3a932e
  113351: 37e96d6
v: v3
  • Loading branch information
Ingo Molnar committed Sep 16, 2008
1 parent 4445ca4 commit 4c9d581
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5649b7c30316a51792808422ac03ee825d26aa5e
refs/heads/master: 1e22436eba84edfec9c25e5a25d09062c4f91ca9
11 changes: 9 additions & 2 deletions trunk/arch/x86/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -732,10 +732,10 @@ void start_periodic_check_for_corruption(void)
static int __init dmi_low_memory_corruption(const struct dmi_system_id *d)
{
printk(KERN_NOTICE
"%s detected: BIOS corrupts 0xc000, working it around.\n",
"%s detected: BIOS may corrupt low RAM, working it around.\n",
d->ident);

reserve_early(0xc000, 0xc400, "BIOS quirk");
reserve_early(0x0, 0x10000, "BIOS quirk");

return 0;
}
Expand All @@ -749,6 +749,13 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
DMI_MATCH(DMI_BIOS_VENDOR, "American Megatrends Inc."),
},
},
{
.callback = dmi_low_memory_corruption,
.ident = "Phoenix BIOS",
.matches = {
DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies, LTD"),
},
},
{}
};

Expand Down

0 comments on commit 4c9d581

Please sign in to comment.