You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.0 KiB

  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$
  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. * This file contains replacement functions for the standard C library
  17. * that must be used when building libcaca and libcaca into a kernel.
  18. */
  19. extern void init_gdt(void);
  20. void init_pic(void);
  21. void init_idt(void);
  22. void putcar(unsigned char c);
  23. void dump_gdt(void);
  24. void disable_interrupt(char i);
  25. void enable_interrupt(char i);
  26. #define cli __asm__("cli"::)
  27. #define sti __asm__("sti"::)
  28. /* The application's entry point */
  29. int main(int argc, char *argv[]);