⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sys_xit.c

📁 minux的源代码,一个非常小的操作系统
💻 C
字号:
#include "syslib.h"

PUBLIC int sys_xit(parent, proc, basep, sizep)
int parent;			/* parent of exiting process */
int proc;			/* which process has exited */
phys_clicks *basep;		/* where to return base of shadow [68000] */
phys_clicks *sizep;		/* where to return size of shadow [68000] */
{
/* A process has exited.  Tell the kernel. */

  message m;
  int r;

  m.m1_i1 = parent;
  m.m1_i2 = proc;
  r = _taskcall(SYSTASK, SYS_XIT, &m);
  *basep = (phys_clicks) m.m1_i1;
  *sizep = (phys_clicks) m.m1_i2;
  return(r);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -