Регистры Allwinner H616

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


IOMMU_4KB_BDY_PRT_CTRL_REG
3.12.5. IOMMU 4KB Boundary Protect Control Register - адрес: 0x30f004c (смещение: 0x004C)

Модуль управления памятью ввода-вывода IOMMU: список регистров



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

  Unused

Bits 31 : 7

  MASTER6_4KB_BDY_PRT_CTRL

Bit 6
R/W
0x1

Master6 4KB boundary protect control bit
0: Disable 4KB boundary protect
1: Enable 4KB boundary protect


  MASTER5_4KB_BDY_PRT_CTRL

Bit 5
R/W
0x1

Master4 4KB boundary protect control bit
0: Disable 4KB boundary protect
1: Enable 4KB boundary protect


  MASTER4_4KB_BDY_PRT_CTRL

Bit 4
R/W
0x1

Master4 4KB boundary protect control bit
0: Disable 4KB boundary protect
1: Enable 4KB boundary protect


  MASTER3_4KB_BDY_PRT_CTRL

Bit 3
R/W
0x1

Master3 4KB boundary protect control bit
0: Disable 4KB boundary protect
1: Enable 4KB boundary protect


  MASTER2_4KB_BDY_PRT_CTRL

Bit 2
R/W
0x1

Master2 4KB boundary protect control bit
0: Disable 4KB boundary protect
1: Enable 4KB boundary protect


  MASTER1_4KB_BDY_PRT_CTRL

Bit 1
R/W
0x1

Master1 4KB boundary protect control bit
0: Disable 4KB boundary protect
1: Enable 4KB boundary protect


  MASTER0_4KB_BDY_PRT_CTRL

Bit 0
R/W
0x1

Master0 4KB boundary protect control bit
0: Disable 4KB boundary protect
1: Enable 4KB boundary protect

Note
When the virtual address sent by master is over the 4KB boundary, 4KB protection unit will split it into two serial access.



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

md 30f004c 1



Bit fields structure

typedef union  iommu_4kb_bdy_prt_ctrl_reg
{
  struct
  {
   unsigned master0_4kb_bdy_prt_ctrl : 1;
   unsigned master1_4kb_bdy_prt_ctrl : 1;
   unsigned master2_4kb_bdy_prt_ctrl : 1;
   unsigned master3_4kb_bdy_prt_ctrl : 1;
   unsigned master4_4kb_bdy_prt_ctrl : 1;
   unsigned master5_4kb_bdy_prt_ctrl : 1;
   unsigned master6_4kb_bdy_prt_ctrl : 1;
   unsigned unused0 : 25;
  } b;
   unsigned long w;
} IOMMU_4KB_BDY_PRT_CTRL_REG
   

Allwinner H616 Manual