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
ee94e50e
Commit
ee94e50e
authored
32 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added definition for SANCTIFY-FOR-EXECUTION.
parent
7b5bbf21
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
code/hppa-vm.lisp
+19
-2
19 additions, 2 deletions
code/hppa-vm.lisp
code/pmax-vm.lisp
+13
-3
13 additions, 3 deletions
code/pmax-vm.lisp
code/sparc-vm.lisp
+14
-4
14 additions, 4 deletions
code/sparc-vm.lisp
with
46 additions
and
9 deletions
code/hppa-vm.lisp
+
19
−
2
View file @
ee94e50e
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/hppa-vm.lisp,v 1.
4
1992/
07/09 16:36:39
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/hppa-vm.lisp,v 1.
5
1992/
10/08 22:10:02
wlott Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -22,7 +22,7 @@
(
export
'
(
fixup-code-object
internal-error-arguments
sigcontext-program-counter
sigcontext-register
sigcontext-float-register
sigcontext-floating-point-modes
extern-alien-name
))
extern-alien-name
sanctify-for-execution
))
;;;; The sigcontext structure.
...
...
@@ -213,3 +213,20 @@
name
)
;;; SANCTIFY-FOR-EXECUTION -- Interface.
;;;
;;; Do whatever is necessary to make the given code component executable.
;;; On the PA-RISC, this means flushing the data cache and purging the
;;; inst cache.
;;;
(
defun
sanctify-for-execution
(
component
)
(
without-gcing
(
alien-funcall
(
extern-alien
"sanctify_for_execution"
(
function
void
system-area-pointer
unsigned-long
))
(
code-instructions
component
)
(
*
(
code-header-ref
component
code-code-size-slot
)
word-bytes
)))
nil
)
This diff is collapsed.
Click to expand it.
code/pmax-vm.lisp
+
13
−
3
View file @
ee94e50e
...
...
@@ -7,11 +7,11 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pmax-vm.lisp,v 1.1
1
1992/
07/09 16:43:5
4 wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pmax-vm.lisp,v 1.1
2
1992/
10/08 22:10:3
4 wlott Exp $"
)
;;;
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pmax-vm.lisp,v 1.1
1
1992/
07/09 16:43:5
4 wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pmax-vm.lisp,v 1.1
2
1992/
10/08 22:10:3
4 wlott Exp $
;;;
;;; This file contains the PMAX specific runtime stuff.
;;;
...
...
@@ -24,7 +24,7 @@
(
export
'
(
fixup-code-object
internal-error-arguments
sigcontext-program-counter
sigcontext-register
sigcontext-float-register
sigcontext-floating-point-modes
extern-alien-name
))
extern-alien-name
sanctify-for-execution
))
;;;; The sigcontext structure.
...
...
@@ -197,3 +197,13 @@
(
defun
extern-alien-name
(
name
)
(
declare
(
type
simple-base-string
name
))
name
)
;;; SANCTIFY-FOR-EXECUTION -- Interface.
;;;
;;; Do whatever is necessary to make the given code component executable.
;;;
(
defun
sanctify-for-execution
(
component
)
(
declare
(
ignore
component
))
nil
)
This diff is collapsed.
Click to expand it.
code/sparc-vm.lisp
+
14
−
4
View file @
ee94e50e
...
...
@@ -7,12 +7,10 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sparc-vm.lisp,v 1.1
4
1992/0
9
/08 2
3:29:40
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sparc-vm.lisp,v 1.1
5
1992/
1
0/08 2
2:10:21
wlott Exp $"
)
;;;
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sparc-vm.lisp,v 1.14 1992/09/08 23:29:40 wlott Exp $
;;;
;;; This file contains the SPARC specific runtime stuff.
;;;
(
in-package
"SPARC"
)
...
...
@@ -22,7 +20,7 @@
(
export
'
(
fixup-code-object
internal-error-arguments
sigcontext-program-counter
sigcontext-register
sigcontext-float-register
sigcontext-floating-point-modes
extern-alien-name
))
extern-alien-name
sanctify-for-execution
))
;;;; The sigcontext structure.
...
...
@@ -241,3 +239,15 @@
(
defun
extern-alien-name
(
name
)
(
declare
(
type
simple-base-string
name
))
(
concatenate
'string
"_"
name
))
;;; SANCTIFY-FOR-EXECUTION -- Interface.
;;;
;;; Do whatever is necessary to make the given code component executable.
;;; On the sparc, we don't need to do anything, because the i and d caches
;;; are unified.
;;;
(
defun
sanctify-for-execution
(
component
)
(
declare
(
ignore
component
))
nil
)
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