Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
Bare Metal Firmware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kestrel Collaboration
Kestrel Firmware
Bare Metal Firmware
Commits
2ea7ae62
Commit
2ea7ae62
authored
Apr 17, 2021
by
Evan Lojewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bootrom: revup to latest code adding reserved stack space.
parent
5ededa77
Pipeline
#239
passed with stage
in 18 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
CMakeLists.txt
CMakeLists.txt
+1
-0
bootrom
bootrom
+1
-1
linker.ld
linker.ld
+7
-2
No files found.
CMakeLists.txt
View file @
2ea7ae62
...
...
@@ -98,6 +98,7 @@ ppc64le_add_executable(${PROJECT_NAME}
)
ppc64le_linker_script
(
${
PROJECT_NAME
}
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/linker.ld"
)
target_link_libraries
(
${
PROJECT_NAME
}
PRIVATE libbase
)
target_link_libraries
(
${
PROJECT_NAME
}
PRIVATE
"--defsym=STACK_SIZE=2560"
)
target_compile_definitions
(
${
PROJECT_NAME
}
PRIVATE
"-DNO_FLINT"
)
# Disable linting
format_target_sources
(
${
PROJECT_NAME
}
)
...
...
bootrom
@
42fdbd2c
Subproject commit
b0e997f1f2a470d862d0ed35dbb6011e4053324d
Subproject commit
42fdbd2c06c8af33b6fadf00bd6afe503817bdf6
linker.ld
View file @
2ea7ae62
...
...
@@ -65,6 +65,13 @@ SECTIONS
_end = .;
} > sram
.stack ALIGN(8) (NOLOAD):
{
_fstack = .;
. += STACK_SIZE;
_estack = .;
} > sram
/DISCARD/ :
{
*(.eh_frame)
...
...
@@ -72,7 +79,5 @@ SECTIONS
}
}
PROVIDE(_fstack = ORIGIN(sram) + LENGTH(sram) - 8);
/* Ensure needed symbols are at the expected locations */
ASSERT(_exception_entry_size <= 0x80, "_exception_entry must not be larger than 0x80 bytes)")
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