mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Add identify_cpu() to ARM64 init_secondary routine
Identify current CPU. This is necessary to setup affinity registers and to provide support for runtime chip identification. Reviewed by: andrew Obtained from: Semihalf Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3095
This commit is contained in:
parent
4fa92fb538
commit
b49baf8065
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285597
@ -229,6 +229,13 @@ init_secondary(uint64_t cpu)
|
||||
pcpup->pc_curthread = pcpup->pc_idlethread;
|
||||
pcpup->pc_curpcb = pcpup->pc_idlethread->td_pcb;
|
||||
|
||||
/*
|
||||
* Identify current CPU. This is necessary to setup
|
||||
* affinity registers and to provide support for
|
||||
* runtime chip identification.
|
||||
*/
|
||||
identify_cpu();
|
||||
|
||||
/* Configure the interrupt controller */
|
||||
arm_init_secondary();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user