Defect Injection and Diffusion in Semiconductors