From 1a0ba3eb5313116e3a832230a461b3f72ad6f9fc Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Thu, 3 Nov 2016 14:07:13 +0000 Subject: [PATCH] revert r6629: failed mtrr configuration can lead to terrible performance, it must be as visible as possible git-svn-id: svn://kolibrios.org@6663 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/mtrr.inc | 8 +++----- kernel/trunk/data32.inc | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/kernel/trunk/core/mtrr.inc b/kernel/trunk/core/mtrr.inc index e538095d1f..5335011708 100644 --- a/kernel/trunk/core/mtrr.inc +++ b/kernel/trunk/core/mtrr.inc @@ -923,10 +923,8 @@ proc mtrr_validate .exit: ret .fail: - ; mov ebx, mtrr_user_message - ; mov ebp, notifyapp - ; call fs_execute_from_sysdir_param - mov eax, mtrr_user_message - DEBUGF 1, "K : %s \n", eax + mov ebx, mtrr_user_message + mov ebp, notifyapp + call fs_execute_from_sysdir_param ret endp diff --git a/kernel/trunk/data32.inc b/kernel/trunk/data32.inc index b82cabacf1..1929ece7a0 100644 --- a/kernel/trunk/data32.inc +++ b/kernel/trunk/data32.inc @@ -162,10 +162,10 @@ firstapp db '/RD/1/LAUNCHER',0 notifyapp db '/RD/1/@notify',0 if lang eq ru ud_user_message cp866 'Ошибка: неподдерживаемая инструкция процессора',0 -mtrr_user_message cp866 'Обнаружена проблема с конфигурацией MTRR. Производительность может быть пониженной',0 +mtrr_user_message cp866 '"Обнаружена проблема с конфигурацией MTRR.\nПроизводительность может быть пониженной" -dW',0 else if ~ lang eq sp ud_user_message db 'Error: unsupported processor instruction',0 -mtrr_user_message db 'There is a problem with MTRR configuration. Performance can be low',0 +mtrr_user_message db '"There is a problem with MTRR configuration.\nPerformance can be low" -dW',0 end if vmode db '/sys/drivers/VMODE.MDR',0