The extensor hallucis longus muscle is located in the deep posterior compartment of the leg, adjacent to the tibialis posterior m. and the flexor digitorum longus m.. The tendon cross in the base of the foot, so that the muscle belly is on the opposite side (lateral) of the hallux (medial). It's tendon passes through the tarsal tunnel and its the "H" in the Tom, Dick and very nervous Harry acronym.
Action: Extends hallux, dorsiflexes ankle
Innervation: Deep fibular nerve
Origin: Fibula
Insertion: Distal phalanx of hallux