1. 28 9月, 2006 3 次提交
    • H
      [ARM] nommu: manage the CP15 things · f12d0d7c
      Hyok S. Choi 提交于
      All the current CP15 access codes in ARM arch can be categorized and
      conditioned by the defines as follows:
      
           Related operation	Safe condition
        a. any CP15 access	!CPU_CP15
        b. alignment trap	CPU_CP15_MMU
        c. D-cache(C-bit)	CPU_CP15
        d. I-cache		CPU_CP15 && !( CPU_ARM610 || CPU_ARM710 ||
      				CPU_ARM720 || CPU_ARM740 ||
      				CPU_XSCALE || CPU_XSC3 )
        e. alternate vector	CPU_CP15 && !CPU_ARM740
        f. TTB		CPU_CP15_MMU
        g. Domain		CPU_CP15_MMU
        h. FSR/FAR		CPU_CP15_MMU
      
      For example, alternate vector is supported if and only if
      "CPU_CP15 && !CPU_ARM740" is satisfied.
      Signed-off-by: NHyok S. Choi <hyok.choi@samsung.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      f12d0d7c
    • H
      [ARM] nommu: defines CPU_CP15, CPU_CP15_MMU and CPU_CP15_MPU · fefdaa06
      Hyok S. Choi 提交于
      By merging of uClinux/ARM, we need to treat various CPU cores which have
      MMU, MPU or even none for memory management. The memory management
      coprocessors are controlled by CP15 register set and the ARM core family
      can be categorized by 5 groups by the register ;
        G-a. CP15 is MMU : 610, 710, 720, 920, 922, 925, 926, 1020, 1020e, 1022,
      		v6 and the derivations sa1100, sa110, xscale, xsc3.
        G-b. CP15 is MPU : 740, 940, 946, 996, 1156.
        G-c. CP15 is MPU or MMU : 1026 (selectable by schematic design)
        G-d. CP15 is exist, but nothing for memory managemnt : 966, 968.
        G-e. no-CP15 : 7tdmi, 9tdmi, 9e, 9ej
      
      This patch defines CPU_CP15, CPU_CP15_MMU and CPU_CP15_MPU. Thus the
      family can be defined as :
        - CPU_CP15 only : G-d
        - CPU_CP15_MMU(implies CPU_CP15) : G-a, G-c(selectable)
        - CPU_CP15_MPU(implies CPU_CP15) : G-b, G-c(selectable)
        - !CPU_CP15 : G-e
      Signed-off-by: NHyok S. Choi <hyok.choi@samsung.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      fefdaa06
    • H
      [ARM] nommu: allows to support module in nommu · 6a570b28
      Hyok S. Choi 提交于
      A simple patch to support module in nommu mode.
      The vmalloc is used instead of __vmalloc_area which depends on CONFIG_MMU.
      Signed-off-by: NHyok S. Choi <hyok.choi@samsung.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      6a570b28
  2. 27 9月, 2006 10 次提交
  3. 25 9月, 2006 27 次提交