mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
MFp4: add in making fiq's work by coping to the correct page incase we have
the vectors relocated high..
This commit is contained in:
parent
c28a40615d
commit
98c8f18cf0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143682
@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <vm/vm.h>
|
||||
#include <machine/pcb.h>
|
||||
#include <vm/pmap.h>
|
||||
#include <machine/cpu.h>
|
||||
|
||||
TAILQ_HEAD(, fiqhandler) fiqhandler_stack =
|
||||
TAILQ_HEAD_INITIALIZER(fiqhandler_stack);
|
||||
@ -73,7 +74,7 @@ fiq_installhandler(void *func, size_t size)
|
||||
vector_page_setprot(VM_PROT_READ|VM_PROT_WRITE);
|
||||
#endif
|
||||
|
||||
memcpy(fiqvector, func, size);
|
||||
memcpy(vector_page + fiqvector, func, size);
|
||||
|
||||
#if !defined(__ARM_FIQ_INDIRECT)
|
||||
vector_page_setprot(VM_PROT_READ);
|
||||
|
Loading…
Reference in New Issue
Block a user