1
0
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:
Peter Grehan 2003-01-08 12:27:47 +00:00
parent 9e283cf9a2
commit d2e30522fe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108944
2 changed files with 2 additions and 0 deletions

View File

@ -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.

View File

@ -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.