The genesis of basaltic magmas