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
fc8f3ae5
Commit
fc8f3ae5
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Finished RT version of INTERNAL-ERROR-ARGUMENTS.
parent
d02f0c75
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
code/rt-vm.lisp
+21
-4
21 additions, 4 deletions
code/rt-vm.lisp
with
21 additions
and
4 deletions
code/rt-vm.lisp
+
21
−
4
View file @
fc8f3ae5
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/rt-vm.lisp,v 1.
2
1991/04/2
2 19:22
:5
1
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/rt-vm.lisp,v 1.
3
1991/04/2
8 20:13
:5
3
wlott Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/rt-vm.lisp,v 1.
2
1991/04/2
2 19:22
:5
1
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/rt-vm.lisp,v 1.
3
1991/04/2
8 20:13
:5
3
wlott Exp $
;;;
;;;
;;; This file contains the RT specific runtime stuff.
;;; This file contains the RT specific runtime stuff.
;;;
;;;
...
@@ -74,8 +74,25 @@
...
@@ -74,8 +74,25 @@
;;;
;;;
(
defun
internal-error-arguments
(
sc
)
(
defun
internal-error-arguments
(
sc
)
(
alien-bind
((
sc
sc
mach:sigcontext
t
))
(
alien-bind
((
sc
sc
mach:sigcontext
t
))
(
values
(
error-number-or-lose
'unknown-error
)
(
let
((
pc
(
alien-access
(
mach:sigcontext-iar
(
alien-value
sc
)))))
nil
)))
(
declare
(
type
system-area-pointer
pc
))
(
let*
((
length
(
sap-ref-8
pc
4
))
(
vector
(
make-array
length
:element-type
'
(
unsigned-byte
8
))))
(
declare
(
type
(
unsigned-byte
8
)
length
)
(
type
(
simple-array
(
unsigned-byte
8
)
(
*
))
vector
))
(
copy-from-system-area
pc
(
*
vm:byte-bits
5
)
vector
(
*
vm:word-bits
vm:vector-data-offset
)
(
*
length
vm:byte-bits
))
(
let*
((
index
0
)
(
error-number
(
c::read-var-integer
vector
index
)))
(
collect
((
sc-offsets
))
(
loop
(
when
(
>=
index
length
)
(
return
))
(
sc-offsets
(
c::read-var-integer
vector
index
)))
(
values
error-number
(
sc-offsets
))))))))
;;; SIGCONTEXT-FLOATING-POINT-MODES -- Interface
;;; SIGCONTEXT-FLOATING-POINT-MODES -- Interface
...
...
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