GPL header added
added pmac code