* libcurses++, libc++ and liblightOS++ are installed into the crosscompiler directory
[lightOS.git] / kernel / include / kernel / x86 / v86m.hpp
blob169a29d07fb4db9a1996bda1ba76d6d85eea319b
1 /*
2 lightOS kernel
3 Copyright (C) 2007-2009 Jörg Pfähler
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef LIGHTOS_KERNEL_X86_V86M_HPP
20 #define LIGHTOS_KERNEL_X86_V86M_HPP
22 /*! \addtogroup kernel kernel */
23 /*@{*/
24 /*! \addtogroup x86 x86 */
25 /*@{*/
27 #include <kernel/x86/arch.hpp>
29 #ifdef _LIGHTOS_V86
31 namespace kernel
33 void push16(uint32_t **Esp, uint16_t value);
34 uint16_t pop16(uint32_t **Esp);
35 void virtual_8086_monitor(interrupt_stackframe &frame);
38 #endif
40 /*@}*/
41 /*@}*/
43 #endif