source: libcaca/trunk/kernel/kernel.h @ 4154

Last change on this file since 4154 was 4154, checked in by Jean-Yves Lamoureux, 10 years ago
  • Total kernel rewrite
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1/*
2 *  libcaca      Canvas for ultrafast compositing of Unicode letters
3 *  libcaca       Colour ASCII-Art library
4 *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
5 *                All Rights Reserved
6 *
7 *  $Id: kernel.h 4154 2009-12-20 13:33:11Z jylam $
8 *
9 *  This library is free software. It comes without any warranty, to
10 *  the extent permitted by applicable law. You can redistribute it
11 *  and/or modify it under the terms of the Do What The Fuck You Want
12 *  To Public License, Version 2, as published by Sam Hocevar. See
13 *  http://sam.zoy.org/wtfpl/COPYING for more details.
14 */
15
16/*
17 *  This file contains replacement functions for the standard C library
18 *  that must be used when building libcaca and libcaca into a kernel.
19 */
20
21
22
23
24extern void init_gdt(void);
25void init_pic(void);
26void init_idt(void);
27void putcar(unsigned char c);
28void dump_gdt(void);
29
30void disable_interrupt(char i);
31void enable_interrupt(char i);
32
33
34#define cli             __asm__("cli"::)
35#define sti             __asm__("sti"::)
36
37
38
39/* The application's entry point */
40int main(int argc, char *argv[]);
41
Note: See TracBrowser for help on using the repository browser.