Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #ifndef _PXA255_PWR_CLK_H_
  2. #define _PXA255_PWR_CLK_H_
  3.  
  4. #include "mem.h"
  5. #include "cpu.h"
  6.  
  7.  
  8.  
  9. typedef struct{
  10.        
  11.         ArmCpu* cpu;
  12.         UInt32 CCCR, CKEN, OSCR;        //clocks manager regs
  13.         UInt32 pwrRegs[13];             //we care so little about these, we don't even name them
  14.         Boolean turbo;
  15.        
  16. }Pxa255pwrClk;
  17.  
  18.  
  19. #define PXA255_CLOCK_MANAGER_BASE       0x41300000UL
  20. #define PXA255_CLOCK_MANAGER_SIZE       0x00001000UL
  21.  
  22. #define PXA255_POWER_MANAGER_BASE       0x40F00000UL
  23. #define PXA255_POWER_MANAGER_SIZE       0x00001000UL
  24.  
  25.  
  26. Boolean pxa255pwrClkInit(Pxa255pwrClk* pc, ArmCpu* cpu, ArmMem* physMem);
  27.  
  28.  
  29.  
  30.  
  31.  
  32. #endif
  33.