Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TP-OS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Putegnat Theo
TP-OS
Commits
0f111bc5
Commit
0f111bc5
authored
4 years ago
by
Wilke Pierre
Browse files
Options
Downloads
Patches
Plain Diff
revert default return value allocate_if_possible -- ça plante sinon
parent
125fca9f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kernel/vm.c
+2
-2
2 additions, 2 deletions
kernel/vm.c
with
2 additions
and
2 deletions
kernel/vm.c
+
2
−
2
View file @
0f111bc5
...
...
@@ -378,11 +378,11 @@ int load_from_file(char* file,
}
int
allocate_if_possible
(
pagetable_t
pagetable
,
struct
proc
*
p
,
uint64
addr
){
return
ENOVMA
;
return
0
;
}
int
allocate_if_possible_range
(
pagetable_t
pagetable
,
struct
proc
*
p
,
uint64
addr
,
uint64
len
){
return
ENOVMA
;
return
0
;
}
// Copy from kernel to user.
...
...
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