modify code for cpu&ppu clk control.