操作系统源代码.docVIP

  • 4
  • 0
  • 约1.56万字
  • 约 19页
  • 2019-07-03 发布于安徽
  • 举报
*** *** #includestdio.h #includetime.h #includestdlib.h int memoryStartAddress = -1; int memorySize = -1; struct jobList { int id; /* 作业 ID */ int size; /* 作业大小(需要的存储空间大小) */ int status; /* 作业状态 0 : new job ,1 : in the memory , 2 : finished . */ struct jobList *next; /* 作业链表指针 */ }; struct freeList { int startAddress; /* 分区起始地址 */ int size; /* 分区大小 */ struct freeList *next; /* 分区链表指针 */ }; struct usedList { int startAddress; /* 分区起始地址 */ int jobID; /* 分区中存放作业 ID */ struct usedList *next; /* 分区链表指针 */ }; void errorMessage(void) /*出现严重错误时显示信息并结束程序 */ { printf(\n\tError !\a); printf(\nPress any

文档评论(0)

1亿VIP精品文档

相关文档