Re[5]: Как нумеруются процессоры/ядра?
От: crash override  
Дата: 25.12.08 01:27
Оценка: 14 (1)
Здравствуйте, Евгений Музыченко, Вы писали:

А>>Первым процессором полагаю будет назначен тот, на котором исполнялся биос и загрузчик ос. От винды это не зависит. Это дело биоса, а то и железа.


ЕМ>Согласен, а остальные? И как выбирается тот процессор, на котором будет исполняться биос?


В соответствии с интеловским мануалом (Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3A):

The MP initialization protocol defines two classes of processors: the bootstrap
processor (BSP) and the application processors (APs). Following a power-up or
RESET of an MP system, system hardware dynamically selects one of the processors
on the system bus as the BSP. The remaining processors are designated as APs.

As part of the BSP selection mechanism, the BSP flag is set in the IA32_APIC_BASE
MSR (see Figure 8-5) of the BSP, indicating that it is the BSP. This flag is cleared for
all other processors.
The BSP executes the BIOS’s boot-strap code to configure the APIC environment,
sets up system-wide data structures, and starts and initializes the APs. When the BSP
and APs are initialized, the BSP then begins executing the operating-system initialization
code.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.