From 1be057e3704579b2ae98f2cd805f1cef059a88e6 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Sun, 21 Feb 2016 17:29:58 +0000 Subject: [PATCH] kernel: fixed page flags git-svn-id: svn://kolibrios.org@6275 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/video/framebuffer.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/video/framebuffer.inc b/kernel/trunk/video/framebuffer.inc index 018a40f170..35d4e99554 100644 --- a/kernel/trunk/video/framebuffer.inc +++ b/kernel/trunk/video/framebuffer.inc @@ -127,8 +127,9 @@ init_video: jnc .create_page_tables mov edx, 0x00400000 - or esi, PG_GLOBAL+PDE_LARGE+PAT_WC+PG_UWR + or esi, PG_GLOBAL+PAT_WC+PG_UWR and esi, [pte_valid_mask] + or esi, PDE_LARGE mov [ebp+FRB.pde], esi add esi, edx mov [ebp+FRB.pde+4], esi