Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSEP551
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krishna Vinnakota
CSEP551
Commits
82537b71
Commit
82537b71
authored
18 years ago
by
rtm
Browse files
Options
Downloads
Patches
Plain Diff
nits
parent
97c74a3a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README
+10
-12
10 additions, 12 deletions
README
kalloc.c
+1
-1
1 addition, 1 deletion
kalloc.c
with
11 additions
and
13 deletions
README
+
10
−
12
View file @
82537b71
xv6 is a re-implementation of Unix Version 6 (v6), which was developed
by Dennis Ritchie and Ken Thompson. xv6 follows the structure and
style of v6, but is implemented for a modern x86-based multiprocessor
using ANSI C.
xv6 is a re-implementation of Dennis Ritchie's and Ken Thompson's Unix
Version 6 (v6). xv6 loosely follows the structure and style of v6,
but is implemented for a modern x86-based multiprocessor using ANSI C.
xv6 is inspired by the following work by Lions about Unix version 6:
xv6 is inspired by John Lions' Commentary on UNIX 6th Edition (Peer
to Peer Communications; ISBN: 1-57398-013-7; 1st edition (June 14,
2000)). See also http://pdos.csail.mit.edu/6.828/2006/v6.html, which
provides pointers to on-line resources for v6.
- Lions' Commentary on UNIX' 6th Edition, John Lions, Peer to Peer
Communications; ISBN: 1-57398-013-7; 1st edition (June 14, 2000). See
also http://pdos.csail.mit.edu/6.828/2006/v6.html, which provides
pointers to on-line resources for v6.
Code was used from the following sources:
JOS (asm.h, elf.h, mmu.h, bootasm.S, ide.c, and others)
xv6 borrows code from the following sources:
JOS (asm.h, elf.h, mmu.h, bootasm.S, ide.c, console.c, and others)
Plan 9 (bootother.S, mp.h, mp.c, ioapic.h, lapic.c)
FreeBSD (ioapic.c)
NetBSD (console.c)
The following people made contributions:
Russ Cox (context switching, locking)
...
...
This diff is collapsed.
Click to expand it.
kalloc.c
+
1
−
1
View file @
82537b71
...
...
@@ -38,7 +38,7 @@ kinit(void)
initlock
(
&
kalloc_lock
,
"kalloc"
);
start
=
(
char
*
)
&
end
;
start
=
(
char
*
)
(((
uint
)
start
+
PAGE
)
&
~
(
PAGE
-
1
));
mem
=
256
;
//
XXX
mem
=
256
;
//
assume 256 pages of RAM
cprintf
(
"mem = %d
\n
"
,
mem
*
PAGE
);
kfree
(
start
,
mem
*
PAGE
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment