mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
Sync the i-cache after copying down the interrupt code
Approved by: benno
This commit is contained in:
parent
9e283cf9a2
commit
d2e30522fe
2 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue