mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Fix Grammar
`set up` not `setup`
This commit is contained in:
@@ -27,9 +27,9 @@ start:
|
||||
call test_cpuid
|
||||
call test_long_mode
|
||||
|
||||
call setup_page_tables
|
||||
call set_up_page_tables
|
||||
call enable_paging
|
||||
call setup_SSE
|
||||
call set_up_SSE
|
||||
|
||||
; load the 64-bit GDT
|
||||
lgdt [gdt64.pointer]
|
||||
@@ -42,7 +42,7 @@ start:
|
||||
|
||||
jmp gdt64.code:long_mode_start
|
||||
|
||||
setup_page_tables:
|
||||
set_up_page_tables:
|
||||
; recursive map P4
|
||||
mov eax, p4_table
|
||||
or eax, 0b11 ; present + writable
|
||||
@@ -149,7 +149,7 @@ test_long_mode:
|
||||
jmp error
|
||||
|
||||
; Check for SSE and enable it. If it's not supported throw error "a".
|
||||
setup_SSE:
|
||||
set_up_SSE:
|
||||
; check for SSE
|
||||
mov eax, 0x1
|
||||
cpuid
|
||||
|
||||
Reference in New Issue
Block a user