xoscillo porting

I'm going to do the porting of software "Xoscillo" [bit.ly/irizz9] (http://bit.ly/irizz9) on LM4F (Stellaris Launchpad).
My only difficulties are this parts of code for the requisites of platform:

<pre><code><b>
// defines for setting and clearing register bits
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#endif
</b></code></pre>

and the implementation of:

<pre><code><b>
void StartAnalogRead(uint8_t pin);
uint8_t EndAnalogRead();
</b></code></pre>
for the same reasons.

I don't have these entries in depth yet; so... could you give me an advice?
<br><br><br>
Thank you for reading.