Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
triazo
/
kernel
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
3
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6a365bd5
authored
Nov 05, 2015
by
triazo
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Disable memtest
parent
73d2afab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
src/kern.c
src/kern.c
View file @
6a365bd5
...
@@ -35,12 +35,12 @@ void kernel_main(multiboot_info* mbt, uint32_t magic)
...
@@ -35,12 +35,12 @@ void kernel_main(multiboot_info* mbt, uint32_t magic)
io_init
();
io_init
();
pit_start_counter
(
100
,
PIT_OCW_CONT_0
,
PIT_OCW_MODE_SQWVGEN
);
pit_start_counter
(
100
,
PIT_OCW_CONT_0
,
PIT_OCW_MODE_SQWVGEN
);
enable_int
();
enable_int
();
/* Since there is no support for newlines in terminal_putchar
/* Since there is no support for newlines in terminal_putchar
* yet, '\n' will produce some VGA specific character instead.
* yet, '\n' will produce some VGA specific character instead.
* This is normal.
* This is normal.
*/
*/
serial_writestring
(
"Hello, kernel World!
\n
"
);
serial_writestring
(
"Hello, kernel World!
\n
"
);
terminal_writestring
(
"Hello, kernel World!
\n
"
);
terminal_writestring
(
"Hello, kernel World!
\n
"
);
...
@@ -61,8 +61,9 @@ void kernel_main(multiboot_info* mbt, uint32_t magic)
...
@@ -61,8 +61,9 @@ void kernel_main(multiboot_info* mbt, uint32_t magic)
serial_writestring
(
"Finished Initilizing memory
\n
"
);
serial_writestring
(
"Finished Initilizing memory
\n
"
);
int
o
=
0
;
int
o
=
0
;
int
j
=
5
/
o
;
int
j
=
5
/
o
;
serial_hexword
(
j
);
serial_hexword
(
j
);
test_mem
();
//test_mem();
serial_writechar
(
'\n'
);
// PCI
// PCI
checkAllBuses
();
checkAllBuses
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment