Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Redstone
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
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
Show more breadcrumbs
zefanxu2
Redstone
Commits
48558c0c
Commit
48558c0c
authored
8 years ago
by
xiangli
Browse files
Options
Downloads
Patches
Plain Diff
sbsbsbsbsbssbbssbsb
parent
94c8335c
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
student-distrib/keyboard_handler.c
+2
-0
2 additions, 0 deletions
student-distrib/keyboard_handler.c
student-distrib/systemcall.h
+3
-0
3 additions, 0 deletions
student-distrib/systemcall.h
with
5 additions
and
0 deletions
student-distrib/keyboard_handler.c
+
2
−
0
View file @
48558c0c
...
...
@@ -203,6 +203,8 @@ void keyboard_handler(void)
send_eoi
(
1
);
return
;
}
//edge case
if
(
scancode
!=
0x0E
&&
key
!=
'\n'
&&
(
key
>=
' '
&&
key
<=
'~'
)
&&
key
!=
'\0'
){
if
(
key_buff_size
[
terminal_id
]
==
BUFF_SIZE_LIMIT
)
...
...
This diff is collapsed.
Click to expand it.
student-distrib/systemcall.h
+
3
−
0
View file @
48558c0c
...
...
@@ -59,6 +59,9 @@ int32_t sigreturn(void);
void
construct_pcb_entries
(
pcb_t
*
pcb_pointer
,
int
new_pid
);
void
clear_file_descriptors
();
void
play_sound
(
int
freq_number
,
uint32_t
duration
);
void
alert
();
...
...
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