mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Sync the i-cache after copying down the interrupt code
Approved by: benno
This commit is contained in:
parent
9e283cf9a2
commit
d2e30522fe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108944
@ -381,6 +381,7 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, void *mdp)
|
||||
bcopy(&trapcode, (void *)EXC_DECR, (size_t)&trapsize);
|
||||
bcopy(&trapcode, (void *)EXC_SC, (size_t)&trapsize);
|
||||
bcopy(&trapcode, (void *)EXC_TRC, (size_t)&trapsize);
|
||||
__syncicache(EXC_RSVD, EXC_LAST - EXC_RSVD);
|
||||
|
||||
/*
|
||||
* Start initializing proc0 and thread0.
|
||||
|
@ -381,6 +381,7 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, void *mdp)
|
||||
bcopy(&trapcode, (void *)EXC_DECR, (size_t)&trapsize);
|
||||
bcopy(&trapcode, (void *)EXC_SC, (size_t)&trapsize);
|
||||
bcopy(&trapcode, (void *)EXC_TRC, (size_t)&trapsize);
|
||||
__syncicache(EXC_RSVD, EXC_LAST - EXC_RSVD);
|
||||
|
||||
/*
|
||||
* Start initializing proc0 and thread0.
|
||||
|
Loading…
Reference in New Issue
Block a user