Files
MIT6.828_OS/lab/lab6.si4project/Backup/input(7104).c
2019-07-17 16:08:06 +08:00

17 lines
389 B
C

#include "ns.h"
extern union Nsipc nsipcbuf;
void
input(envid_t ns_envid)
{
binaryname = "ns_input";
// LAB 6: Your code here:
// - read a packet from the device driver
// - send it to the network server
// Hint: When you IPC a page to the network server, it will be
// reading from it for a while, so don't immediately receive
// another packet in to the same physical page.
}