Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
9dae54fa
Commit
9dae54fa
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added include of signal.h and fixed defn of os_validate to be consistent
with the header file.
parent
6d70976e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ldb/mach-os.c
+5
-2
5 additions, 2 deletions
ldb/mach-os.c
with
5 additions
and
2 deletions
ldb/mach-os.c
+
5
−
2
View file @
9dae54fa
/*
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/mach-os.c,v 1.
1
1991/05/24 19:
04:38
wlott Exp $
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/mach-os.c,v 1.
2
1991/05/24 19:
27:45
wlott Exp $
*
* OS-dependent routines. This file (along with os.h) exports an
* OS-independent interface to the operating system VM facilities.
...
...
@@ -13,6 +13,7 @@
#include
<stdio.h>
#include
<mach.h>
#include
"./signal.h"
#include
"ldb.h"
#include
"os.h"
...
...
@@ -31,7 +32,7 @@ void os_init()
os_vm_page_size
=
vm_page_size
;
}
void
os_validate
(
addr
,
len
)
os_vm_address_t
os_validate
(
addr
,
len
)
vm_address_t
addr
;
vm_size_t
len
;
{
...
...
@@ -47,6 +48,8 @@ vm_size_t len;
mach_error
(
"Could not vm_allocate memory: "
,
res
);
segments
=
-
1
;
return
addr
;
}
void
os_invalidate
(
addr
,
len
)
...
...
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