Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pintos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Project Purple Stallion
Pintos
Commits
4483bec0
Commit
4483bec0
authored
5 years ago
by
a2-stratford
Browse files
Options
Downloads
Patches
Plain Diff
Added prototype
parent
72307775
Branches
Branches containing commit
No related tags found
2 merge requests
!22
Merge Feature/system calls
,
!15
Alex/27 implement open system call
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
userprog/system_calls.h
+3
-2
3 additions, 2 deletions
userprog/system_calls.h
with
3 additions
and
2 deletions
userprog/system_calls.h
+
3
−
2
View file @
4483bec0
...
@@ -44,9 +44,10 @@ void syscall_create(struct intr_frame *f);
...
@@ -44,9 +44,10 @@ void syscall_create(struct intr_frame *f);
void
syscall_write
(
struct
intr_frame
*
f
);
void
syscall_write
(
struct
intr_frame
*
f
);
/*
/*
*
NOTE: There are more system calls implemented by Pintos but we are not
*
Opens the file called file. Returns a nonnegative integer handle called a
*
implementing them because the assignment brief does not ask of it
.
*
"file descriptor" (fd), or -1 if the file could not be opened
.
*/
*/
void
syscall_open
(
struct
intr_frame
*
f
);
/*
/*
* special additional stuff for handling file descriptors because they're annoying
* special additional stuff for handling file descriptors because they're annoying
...
...
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