亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? syscall.h

?? nachos test nachos 有關實驗
?? H
字號:
/* syscalls.h 
 * 	Nachos system call interface.  These are Nachos kernel operations
 * 	that can be invoked from user programs, by trapping to the kernel
 *	via the "syscall" instruction.
 *
 *	This file is included by user programs and by the Nachos kernel. 
 *
 * Copyright (c) 1992-1993 The Regents of the University of California.
 * All rights reserved.  See copyright.h for copyright notice and limitation 
 * of liability and disclaimer of warranty provisions.
 */

#ifndef SYSCALLS_H
#define SYSCALLS_H

#include "copyright.h"

/* system call codes -- used by the stubs to tell the kernel which system call
 * is being asked for
 */
#define SC_Halt		0
#define SC_Exit		1
#define SC_Exec		2
#define SC_Join		3
#define SC_Create	       4
#define SC_Open		5
#define SC_Read		6
#define SC_Write	       7
#define SC_Close	       8
#define SC_Fork		9
#define SC_Yield	      10

#ifndef IN_ASM

/* The system call interface.  These are the operations the Nachos
 * kernel needs to support, to be able to run user programs.
 *
 * Each of these is invoked by a user program by simply calling the 
 * procedure; an assembly language stub stuffs the system call code
 * into a register, and traps to the kernel.  The kernel procedures
 * are then invoked in the Nachos kernel, after appropriate error checking, 
 * from the system call entry point in exception.cc.
 */

/* Stop Nachos, and print out performance stats */
void Halt();		
 

/* Address space control operations: Exit, Exec, and Join */

/* This user program is done (status = 0 means exited normally). */
void Exit(int status);	

/* A unique identifier for an executing user program (address space) */
typedef int SpaceId;	
 
/* Run the executable, stored in the Nachos file "name", and return the 
 * address space identifier
 */
SpaceId Exec(char *name);
 
/* Only return once the the user program "id" has finished.  
 * Return the exit status.
 */
int Join(SpaceId id); 	
 

/* File system operations: Create, Open, Read, Write, Close
 * These functions are patterned after UNIX -- files represent
 * both files *and* hardware I/O devices.
 *
 * If this assignment is done before doing the file system assignment,
 * note that the Nachos file system has a stub implementation, which
 * will work for the purposes of testing out these routines.
 */
 
/* A unique identifier for an open Nachos file. */
typedef int OpenFileId;	

/* when an address space starts up, it has two open files, representing 
 * keyboard input and display output (in UNIX terms, stdin and stdout).
 * Read and Write can be used directly on these, without first opening
 * the console device.
 */

#define ConsoleInput	0  
#define ConsoleOutput	1  
 
/* Create a Nachos file, with "name" */
void Create(char *name);

/* Open the Nachos file "name", and return an "OpenFileId" that can 
 * be used to read and write to the file.
 */
OpenFileId Open(char *name);

/* Write "size" bytes from "buffer" to the open file. */
void Write(char *buffer, int size, OpenFileId id);

/* Read "size" bytes from the open file into "buffer".  
 * Return the number of bytes actually read -- if the open file isn't
 * long enough, or if it is an I/O device, and there aren't enough 
 * characters to read, return whatever is available (for I/O devices, 
 * you should always wait until you can return at least one character).
 */
int Read(char *buffer, int size, OpenFileId id);

/* Close the file, we're done reading and writing to it. */
void Close(OpenFileId id);



/* User-level thread operations: Fork and Yield.  To allow multiple
 * threads to run within a user program. 
 */

/* Fork a thread to run a procedure ("func") in the *same* address space 
 * as the current thread.
 */
void Fork(void (*func)());

/* Yield the CPU to another runnable thread, whether in this address space 
 * or not. 
 */
void Yield();		

#endif /* IN_ASM */

#endif /* SYSCALL_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区欧美日| 一区二区三区高清| 欧美性xxxxxxxx| 91在线观看美女| proumb性欧美在线观看| 成人高清视频免费观看| 高清不卡在线观看| 国产成人在线网站| 国产一区二区电影| 国产精品一二三| 国产成人99久久亚洲综合精品| 另类小说欧美激情| 激情五月激情综合网| 国产一区二区按摩在线观看| 国产成人超碰人人澡人人澡| 国产大陆亚洲精品国产| 成人18视频日本| 97久久精品人人爽人人爽蜜臀| 91麻豆免费视频| 欧美日韩国产高清一区二区| 欧美另类久久久品| 日韩欧美一二三区| 久久久久高清精品| 亚洲日韩欧美一区二区在线| 亚洲国产日韩综合久久精品| 日韩不卡在线观看日韩不卡视频| 美女视频免费一区| 国产成人在线免费观看| 97精品电影院| 欧美一区二区三级| 国产日韩欧美电影| 一区二区三区四区不卡视频 | 青青草精品视频| 国产精品中文欧美| 色哟哟国产精品| 日韩视频一区二区三区| 国产精品你懂的在线欣赏| 亚洲乱码国产乱码精品精小说| 日日夜夜精品视频天天综合网| 国产精品一卡二卡在线观看| 色94色欧美sute亚洲线路二 | 国内成人免费视频| 91视视频在线观看入口直接观看www | 91丝袜国产在线播放| 91精品国产全国免费观看| 亚洲欧美一区二区三区国产精品| 一区二区在线观看免费视频播放| 久久精品国产免费看久久精品| 成人av免费观看| 精品国产一区二区三区久久久蜜月 | 国产精品一级片在线观看| 欧美在线三级电影| 国产欧美一区二区精品忘忧草| 性做久久久久久免费观看欧美| 成熟亚洲日本毛茸茸凸凹| 欧美日韩在线免费视频| 国产欧美日韩亚州综合| 日韩不卡一二三区| 91麻豆自制传媒国产之光| wwwwww.欧美系列| 日本美女一区二区三区| 色www精品视频在线观看| 久久无码av三级| 免费视频最近日韩| 欧美日韩国产在线观看| 亚洲视频一区二区在线观看| 国产精品自产自拍| 精品国产三级电影在线观看| 午夜精品在线看| 欧美日韩国产高清一区二区 | 日本va欧美va瓶| 欧美视频一区二区三区在线观看| 国产精品大尺度| 99精品视频中文字幕| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 爽好多水快深点欧美视频| 欧美影院午夜播放| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 国产中文一区二区三区| 欧美r级在线观看| 久久av资源网| 欧美精品一区二区三区视频| 久久69国产一区二区蜜臀| 欧美成人性战久久| 九九精品一区二区| 精品欧美一区二区久久| 韩国v欧美v亚洲v日本v| 久久丝袜美腿综合| 岛国av在线一区| 亚洲人成精品久久久久久| 一本色道久久综合亚洲精品按摩 | 91丝袜美女网| 亚洲综合色噜噜狠狠| 欧美人体做爰大胆视频| 奇米影视一区二区三区| 精品福利一区二区三区免费视频| 韩国三级中文字幕hd久久精品| 精品日韩99亚洲| 成人激情免费网站| 一级女性全黄久久生活片免费| 欧美伊人久久久久久久久影院| 婷婷国产在线综合| 亚洲精品一区二区三区精华液| 国产成人三级在线观看| 中文字幕一区二区三区av| 欧美日韩国产在线观看| 狠狠v欧美v日韩v亚洲ⅴ| 国产精品你懂的在线| 欧美三级日韩三级国产三级| 精品亚洲成av人在线观看| 一区二区三区四区乱视频| 717成人午夜免费福利电影| 激情综合色播五月| 亚洲欧美日韩国产综合| 日韩一级欧美一级| 成人免费视频国产在线观看| 亚洲成在人线免费| 久久久精品免费网站| 91久久精品一区二区二区| 看国产成人h片视频| 亚洲四区在线观看| 精品久久久久久久久久久院品网| 91麻豆免费看片| 国产激情视频一区二区在线观看| 亚洲一区二区成人在线观看| 久久久精品综合| 欧美电影在线免费观看| 99精品国产视频| 激情成人午夜视频| 首页国产欧美日韩丝袜| 中文字幕中文字幕一区| 精品久久久久久综合日本欧美| 91国内精品野花午夜精品 | 国产精品乱人伦| 日韩午夜激情电影| 欧洲一区二区三区免费视频| 国产乱一区二区| 免费精品视频在线| 亚洲国产精品久久久男人的天堂| 国产精品免费看片| 精品捆绑美女sm三区| 欧美高清dvd| 欧美亚洲精品一区| 成人国产免费视频| 国产精品中文字幕欧美| 久久精品久久久精品美女| 日韩在线一二三区| 亚洲国产日韩在线一区模特| 亚洲精品成人天堂一二三| 国产精品美女久久久久高潮| 国产欧美日韩在线看| 26uuu国产在线精品一区二区| 欧美一区永久视频免费观看| 欧美剧情片在线观看| 欧美美女网站色| 精品视频资源站| 欧美高清激情brazzers| 69av一区二区三区| 日韩午夜av电影| 精品久久久久久久久久久久包黑料 | 国产精品国产三级国产aⅴ中文| 国产亚洲精品aa| 亚洲第一会所有码转帖| 亚洲欧美电影一区二区| 一区二区三区中文在线| 亚洲综合一区二区精品导航| 亚洲精品美腿丝袜| 亚洲国产日韩a在线播放性色| 亚欧色一区w666天堂| 日本aⅴ亚洲精品中文乱码| 毛片av一区二区| 国产高清在线精品| 99久久亚洲一区二区三区青草| 91女厕偷拍女厕偷拍高清| 欧美撒尿777hd撒尿| 日韩欧美一级片| 久久精品欧美日韩精品 | 欧美三区在线视频| 欧美日韩国产精选| 久久综合久久久久88| 中文字幕亚洲综合久久菠萝蜜| 亚洲精品v日韩精品| 丝袜国产日韩另类美女| 国产一区二区三区| 91亚洲男人天堂| 3d成人h动漫网站入口| 久久久精品免费观看| 亚洲免费av高清| 免费成人在线网站| av亚洲精华国产精华精华| 欧美日韩激情在线| 久久蜜桃一区二区| 亚洲在线免费播放| 国内成+人亚洲+欧美+综合在线| 99久久777色| 欧美草草影院在线视频| 中文字幕一区二区三中文字幕| 日韩激情av在线| 91在线免费视频观看| 精品久久久久久久久久久久久久久久久 |