diff options
| author | Miguel <m.i@gmx.at> | 2018-10-04 02:17:13 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-04 02:17:13 +0200 |
| commit | 81a8252db679351f5ba388b420519724c9c2c2be (patch) | |
| tree | d21bb88fb36f9492c0daf14d67c46f0b22b66def /video | |
| parent | ce16fe524c14ccaae67fb634105da5aef08ead48 (diff) | |
reverting userspace idea
Diffstat (limited to 'video')
| -rw-r--r-- | video/compositor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/compositor.c b/video/compositor.c index f6fcc6e..d0d5bfa 100644 --- a/video/compositor.c +++ b/video/compositor.c @@ -53,6 +53,7 @@ static void put_win(struct window *win) if(win->vmem) { + x86_cli();// do not reschedule us til ready! x86_set_page_directory(win->vmem); } @@ -128,6 +129,7 @@ static void put_win(struct window *win) { x86_set_page_directory(mydir); + x86_sti(); } //draw boundaries @@ -179,6 +181,7 @@ void compositor_del_window(uint32_t addr) void compositor_add_window(uint32_t addr) { + klog("window added"); if (next_window>=MAX_WINDOWS)kpanic("max number of windows reached. increase MAX_WINDOWS"); windows[next_window]=windows[0]; |
