FreeBSD Bugzilla – Attachment 158557 Details for
Bug 201434
[PATCH] Bad management of PSR_A bit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Clear PSR_A bit at startup (initarm)
machdep.patch (text/plain), 728 bytes, created by
Grégory Soutadé
on 2015-07-09 07:30:36 UTC
(
hide
)
Description:
Clear PSR_A bit at startup (initarm)
Filename:
MIME Type:
Creator:
Grégory Soutadé
Created:
2015-07-09 07:30:36 UTC
Size:
728 bytes
patch
obsolete
>diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c >index 99d4572..177a862 100644 >--- a/sys/arm/arm/machdep.c >+++ b/sys/arm/arm/machdep.c >@@ -1483,6 +1483,7 @@ initarm(struct arm_boot_params *abp) > init_proc0(kernelstack.pv_va); > > arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); >+ SetCPSR(PSR_A, 0); > pmap_bootstrap(freemempos, &kernel_l1pt); > msgbufp = (void *)msgbufpv.pv_va; > msgbufinit(msgbufp, msgbufsize); >@@ -1674,7 +1675,7 @@ initarm(struct arm_boot_params *abp) > undefined_init(); > init_proc0(kernelstack); > arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); >- enable_interrupts(PSR_A); >+ SetCPSR(PSR_A, 0); > pmap_bootstrap(0); > > /* Exclude the kernel (and all the things we allocated which immediately
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201434
: 158557