ppc.h (9a4fb6aa19d1aa8dfb3abb6210734b1a1df9e322) | ppc.h (9d1c128341df7a303571f172d986291b4f3ed9ee) |
---|---|
1#ifndef HW_PPC_H 2#define HW_PPC_H 1 3 4void ppc_set_irq(PowerPCCPU *cpu, int n_IRQ, int level); 5 6/* PowerPC hardware exceptions management helpers */ 7typedef void (*clk_setup_cb)(void *opaque, uint32_t freq); 8typedef struct clk_setup_t clk_setup_t; --- 78 unchanged lines hidden (view full) --- 87#define FW_CFG_PPC_WIDTH (FW_CFG_ARCH_LOCAL + 0x00) 88#define FW_CFG_PPC_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01) 89#define FW_CFG_PPC_DEPTH (FW_CFG_ARCH_LOCAL + 0x02) 90#define FW_CFG_PPC_TBFREQ (FW_CFG_ARCH_LOCAL + 0x03) 91#define FW_CFG_PPC_CLOCKFREQ (FW_CFG_ARCH_LOCAL + 0x04) 92#define FW_CFG_PPC_IS_KVM (FW_CFG_ARCH_LOCAL + 0x05) 93#define FW_CFG_PPC_KVM_HC (FW_CFG_ARCH_LOCAL + 0x06) 94#define FW_CFG_PPC_KVM_PID (FW_CFG_ARCH_LOCAL + 0x07) | 1#ifndef HW_PPC_H 2#define HW_PPC_H 1 3 4void ppc_set_irq(PowerPCCPU *cpu, int n_IRQ, int level); 5 6/* PowerPC hardware exceptions management helpers */ 7typedef void (*clk_setup_cb)(void *opaque, uint32_t freq); 8typedef struct clk_setup_t clk_setup_t; --- 78 unchanged lines hidden (view full) --- 87#define FW_CFG_PPC_WIDTH (FW_CFG_ARCH_LOCAL + 0x00) 88#define FW_CFG_PPC_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01) 89#define FW_CFG_PPC_DEPTH (FW_CFG_ARCH_LOCAL + 0x02) 90#define FW_CFG_PPC_TBFREQ (FW_CFG_ARCH_LOCAL + 0x03) 91#define FW_CFG_PPC_CLOCKFREQ (FW_CFG_ARCH_LOCAL + 0x04) 92#define FW_CFG_PPC_IS_KVM (FW_CFG_ARCH_LOCAL + 0x05) 93#define FW_CFG_PPC_KVM_HC (FW_CFG_ARCH_LOCAL + 0x06) 94#define FW_CFG_PPC_KVM_PID (FW_CFG_ARCH_LOCAL + 0x07) |
95/* OpenBIOS has FW_CFG_PPC_NVRAM_ADDR as +0x08 */ 96#define FW_CFG_PPC_BUSFREQ (FW_CFG_ARCH_LOCAL + 0x09) |
|
95 96#define PPC_SERIAL_MM_BAUDBASE 399193 97 98/* ppc_booke.c */ 99void ppc_booke_timers_init(PowerPCCPU *cpu, uint32_t freq, uint32_t flags); 100 101#endif | 97 98#define PPC_SERIAL_MM_BAUDBASE 399193 99 100/* ppc_booke.c */ 101void ppc_booke_timers_init(PowerPCCPU *cpu, uint32_t freq, uint32_t flags); 102 103#endif |