source: trunk/Softwares/Global.or32/src/c/func_io.c @ 52

Last change on this file since 52 was 2, checked in by kane, 18 years ago

Import Morpheo

File size: 260 bytes
Line 
1#include "func_io.h"
2#include "thread_info.h"
3
4void print(int data)
5{
6  int *show   =(int*)(TTY_BASE + (get_thread_id() << 4) + 8);
7
8  *(show) = data;
9}
10
11void quit (int data)
12{
13  int *stop   =(int*)(TTY_BASE + (get_thread_id() << 4) + 4);
14
15  *(stop) = data;
16}
Note: See TracBrowser for help on using the repository browser.