mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
The stack is not at the top of the user struct.
This commit is contained in:
parent
3cdee89f99
commit
c05529221e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97399
@ -88,7 +88,6 @@ CNAME(trapcode):
|
||||
bc 4,17,1f /* branch if PSL_PR is clear */
|
||||
mfsprg 31,0
|
||||
lwz 1,PC_CURPCB(31)
|
||||
addi 1,1,USPACE /* stack is top of user struct */
|
||||
1:
|
||||
bla s_trap
|
||||
CNAME(trapsize) = .-CNAME(trapcode)
|
||||
@ -111,7 +110,6 @@ CNAME(alitrap):
|
||||
bc 4,17,1f /* branch if PSL_PR is clear */
|
||||
mfsprg 31,0
|
||||
lwz 1,PC_CURPCB(31)
|
||||
addi 1,1,USPACE /* stack is top of user struct */
|
||||
1:
|
||||
bla s_trap
|
||||
CNAME(alisize) = .-CNAME(alitrap)
|
||||
@ -690,7 +688,6 @@ realtrap:
|
||||
bc 4,17,s_trap /* branch if PSL_PR is false */
|
||||
mfsprg 31,0
|
||||
lwz 1,PC_CURPCB(31)
|
||||
addi 1,1,USPACE /* stack is top of user struct */
|
||||
|
||||
/*
|
||||
* Now the common trap catching code.
|
||||
|
@ -88,7 +88,6 @@ CNAME(trapcode):
|
||||
bc 4,17,1f /* branch if PSL_PR is clear */
|
||||
mfsprg 31,0
|
||||
lwz 1,PC_CURPCB(31)
|
||||
addi 1,1,USPACE /* stack is top of user struct */
|
||||
1:
|
||||
bla s_trap
|
||||
CNAME(trapsize) = .-CNAME(trapcode)
|
||||
@ -111,7 +110,6 @@ CNAME(alitrap):
|
||||
bc 4,17,1f /* branch if PSL_PR is clear */
|
||||
mfsprg 31,0
|
||||
lwz 1,PC_CURPCB(31)
|
||||
addi 1,1,USPACE /* stack is top of user struct */
|
||||
1:
|
||||
bla s_trap
|
||||
CNAME(alisize) = .-CNAME(alitrap)
|
||||
@ -690,7 +688,6 @@ realtrap:
|
||||
bc 4,17,s_trap /* branch if PSL_PR is false */
|
||||
mfsprg 31,0
|
||||
lwz 1,PC_CURPCB(31)
|
||||
addi 1,1,USPACE /* stack is top of user struct */
|
||||
|
||||
/*
|
||||
* Now the common trap catching code.
|
||||
|
Loading…
Reference in New Issue
Block a user