Last change
on this file since 86 was
81,
checked in by rosiere, 16 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 | |
---|
4 | void print(int data) |
---|
5 | { |
---|
6 | int *show =(int*)(TTY_BASE + (get_thread_id() << 4) + 8); |
---|
7 | |
---|
8 | *(show) = data; |
---|
9 | } |
---|
10 | |
---|
11 | void 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.