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
576251df
Commit
576251df
authored
27 years ago
by
dtc
Browse files
Options
Downloads
Patches
Plain Diff
Remove the unused arch_get_bad_addr function.
parent
bd46c00c
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
lisp/x86-arch.c
+1
-26
1 addition, 26 deletions
lisp/x86-arch.c
with
1 addition
and
26 deletions
lisp/x86-arch.c
+
1
−
26
View file @
576251df
/* x86-arch.c -*- Mode: C; comment-column: 40 -*-
*
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-arch.c,v 1.
7
1997/11/
25 16:30:4
7 dtc Exp $
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-arch.c,v 1.
8
1997/11/
30 12:04:3
7 dtc Exp $
*
*/
...
...
@@ -31,31 +31,6 @@ arch_init(void)
return
"lisp.core"
;
}
os_vm_address_t
arch_get_bad_addr
(
HANDLER_ARGS
)
{
#ifdef __linux__
GET_CONTEXT
#endif
unsigned
int
badinst
;
if
((
context
->
sc_pc
&
3
)
!=
0
)
return
NULL
;
if
(
(
context
->
sc_pc
<
READ_ONLY_SPACE_START
||
context
->
sc_pc
>=
READ_ONLY_SPACE_START
+
READ_ONLY_SPACE_SIZE
)
&&
((
lispobj
*
)
context
->
sc_pc
<
current_dynamic_space
||
(
lispobj
*
)
context
->
sc_pc
>=
current_dynamic_space
+
DYNAMIC_SPACE_SIZE
))
return
NULL
;
badinst
=
*
(
unsigned
int
*
)
context
->
sc_pc
;
#ifdef fixme
if
((
badinst
>>
27
)
!=
0x16
)
return
NULL
;
return
(
os_vm_address_t
)(
context
->
sc_regs
[(
badinst
>>
16
)
&
0x1f
]
+
(
badinst
&
0xffff
));
#else
return
NULL
;
#endif
}
void
arch_skip_instruction
(
context
)
struct
sigcontext
*
context
;
...
...
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