Programming the GPIOs is done directly via the GPIO registers (PDIR, PDAT, etc).
a. SDOS API for GPIOs isn't there, programming of the GPIOs is done directly to allow maximum flexibility.
b. Operation of the GPIOs is explained in the MSC8156 Reference Manual - Chapter 22: GPIO. This document is available on the Freescale public website.