diff options
-rw-r--r-- | src/cpu/x86/mtrr/mtrr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c index 072b8877dc..d1559dc235 100644 --- a/src/cpu/x86/mtrr/mtrr.c +++ b/src/cpu/x86/mtrr/mtrr.c @@ -429,7 +429,9 @@ static void prep_var_mtrr(struct var_mtrr_state *var_state, if (var_state->mtrr_index >= bios_mtrrs) printk(BIOS_WARNING, "Taking a reserved OS MTRR.\n"); if (var_state->mtrr_index >= total_mtrrs) { - printk(BIOS_ERR, "ERROR: Not enough MTRRs available!\n"); + printk(BIOS_ERR, "ERROR: Not enough MTRRs available! MTRR index" + "is %d with %d MTTRs in total.\n", + var_state->mtrr_index, total_mtrrs); return; } |