source: trunk/Softwares/Global/src/c/func_io.c @ 90

Last change on this file since 90 was 81, checked in by rosiere, 17 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
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.