forked from mit-pdos/xv6-public
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean up stale error checks and panics
delete unused functions a few comments
- Loading branch information
rtm
committed
Aug 29, 2006
1 parent
b52151e
commit 2b19190
Showing
11 changed files
with
46 additions
and
347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#define NPROC 64 | ||
#define PAGE 4096 | ||
#define KSTACKSIZE PAGE | ||
#define NCPU 8 | ||
#define NOFILE 16 // file descriptors per process | ||
#define NFD 100 // file descriptors per system | ||
#define NREQUEST 100 // outstanding disk requests | ||
#define NBUF 10 | ||
#define NINODE 100 | ||
#define NDEV 10 | ||
#define NPROC 64 // maximum number of processes | ||
#define PAGE 4096 // granularity of user-space memory allocation | ||
#define KSTACKSIZE PAGE // size of per-process kernel stack | ||
#define NCPU 8 // maximum number of CPUs | ||
#define NOFILE 16 // file descriptors per process | ||
#define NFD 100 // file descriptors per system | ||
#define NREQUEST 100 // outstanding disk requests | ||
#define NBUF 10 // size of disk block cache | ||
#define NINODE 100 // maximum number of active i-nodes | ||
#define NDEV 10 // maximum major device number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
struct spinlock { | ||
uint magic; | ||
char *name; | ||
uint locked; | ||
int cpu; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.