Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #include<menuet/os.h>
  2.  
  3. void send_message(int pid,void * msg_ptr,int message_size)
  4. {
  5.  __asm__ __volatile__("int $0x40"::"a"(60),"b"(2),"c"(pid),"d"(msg_ptr),"S"(message_size));
  6. }
  7.  
  8. void define_receive_area(msgrcva_t * rcva_ptr,int size)
  9. {
  10.  __asm__ __volatile__("int $0x40"::"a"(60),"b"(1),"c"(rcva_ptr),"d"(size));
  11. }
  12.