#include "func_io.h"
#include "thread_info.h"

void print(int data)
{
  int *show   =(int*)(TTY_BASE + (get_thread_id() << 4) + 8);

  *(show) = data;
}

void quit (int data)
{
  int *stop   =(int*)(TTY_BASE + (get_thread_id() << 4) + 4);

  *(stop) = data;
}
