Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BareMetal-test
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ian Seyler
BareMetal-test
Commits
fab9e53c
Commit
fab9e53c
authored
Dec 19, 2018
by
Ian Seyler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
App updates
parent
321fa2ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
smptest.asm
smptest.asm
+1
-1
smptest.c
smptest.c
+1
-1
No files found.
smptest.asm
View file @
fab9e53c
...
...
@@ -29,7 +29,7 @@ smp_task:
mov
rcx
,
18
call
[
b_output
]
mov
rcx
,
smp_get_id
; Get the APIC ID of the CPU
call
[
b_
system
]
call
[
b_
config
]
mov
rcx
,
debug_dump_rax
; And then dump is a a hexidecimal number
call
[
b_system
]
mov
rsi
,
endmessage
; Output a newline
...
...
smptest.c
View file @
fab9e53c
...
...
@@ -28,7 +28,7 @@ void smp_task()
unsigned
long
APIC_ID
=
0
;
b_system
(
SMP_LOCK
,
(
void
*
)
outputlock
,
0
);
b_output
(
message
,
18
);
b_system
(
SMP_GET_ID
,
(
void
*
)
&
APIC
_ID
,
0
);
APIC_ID
=
b_config
(
SMP_GET
_ID
,
0
);
b_system
(
DEBUG_DUMP_RAX
,
(
void
*
)
APIC_ID
,
0
);
b_output
(
newline
,
1
);
b_system
(
SMP_UNLOCK
,
(
void
*
)
outputlock
,
0
);
...
...
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