Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти


C0_CPU_STATUS
3.2.4. Cluster 0 CPU Status Register - адрес: 0x9010080 0x8100080 (смещение: 0x0080)

Конфигурация CPUX: список регистров



31 ||||||||||||||||| 16
15 ||||||||||||||||| 00

  Unused

Bits 31 : 28

  SMP_AMP

Bits 27 : 24
R
0x0

CPU[3:0] is in Symmetric Multiprocessing mode or Asymmetric
Multiprocessing mode.
0: AMP mode
1: SMP mode


  Unused

Bits 23 : 20

  STANDBYWFI

Bits 19 : 16
R
0x1

Indicates if Cluster CPU[3:0] is in WFI standby mode
0: Processor not in WFI standby mode.
1: Processor in WFI standby mode


  Unused

Bits 15 : 12

  STANDBYWFE

Bits 11 : 8
R
0x0

Indicates if Cluster CPU[3:0] is in the WFE standby mode
0: Processor not in WFE standby mode
1: Processor in WFE standby mode


  Unused

Bits 7 : 1

  STANDBYWFIL2

Bit 0
R
0x0

Indicates if the Cluster L2 memory system is in WFI standby mode
0: Cluster L2 not in WFI standby mode
1: Cluster L2 in WFI standby mode



Команда U-Boot для чтения регистра

md 9010080 1
md 8100080 1



Bit fields structure

typedef union  c0_cpu_status
{
  struct
  {
   unsigned standbywfil2 : 1;
   unsigned unused0 : 7;
   unsigned standbywfe : 4;
   unsigned unused1 : 4;
   unsigned standbywfi : 4;
   unsigned unused2 : 4;
   unsigned smp_amp : 4;
   unsigned unused3 : 4;
  } b;
   unsigned long w;
} C0_CPU_STATUS
   

Allwinner H616 Manual