Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Serial console port fix
  • Loading branch information
djphoenix committed Nov 18, 2016
1 parent e8e4aa7 commit 8308b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernlib/display.cpp
Expand Up @@ -179,7 +179,7 @@ class SerialDisplay: public Display {
uint64_t t = EnterCritical();
mutex.lock();
char c;
while ((c = *str++) != 0) outportb(0x3F8, c);
while ((c = *str++) != 0) outportb(port, c);
mutex.release();
LeaveCritical(t);
}
Expand Down

0 comments on commit 8308b84

Please sign in to comment.