Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FlightOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Armin Luntzer
FlightOS
Commits
9a2f59d0
Commit
9a2f59d0
authored
May 24, 2018
by
Armin Luntzer
Browse files
Options
Downloads
Patches
Plain Diff
provide main() as entry point if CONFIG_ARCH_CUSTOM_BOOT_CODE is not defined
parent
345c7f4e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
init/main.c
+6
-0
6 additions, 0 deletions
init/main.c
with
6 additions
and
0 deletions
init/main.c
+
6
−
0
View file @
9a2f59d0
...
@@ -144,6 +144,12 @@ void do_basic_setup(void)
...
@@ -144,6 +144,12 @@ void do_basic_setup(void)
do_initcalls
();
do_initcalls
();
}
}
#else
int
main
(
void
)
{
return
kernel_main
();
}
#endif
/* CONFIG_ARCH_CUSTOM_BOOT_CODE */
#endif
/* CONFIG_ARCH_CUSTOM_BOOT_CODE */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment