Monday, January 02, 2006

Serial Protocol Driver

Well I've slogged my way though the skeleton logic of a serial protocol driver for the Linux CPU. I had to learn about Linux semaphores, mutexs, threads and IDEs. The IDE I ultimately chose was Anjuta as I am able to get a limited sort of prototype hint box functionality with it. Its no MSVC but the prototype hints do help once the function has been setup. (I have to put the prototypes for system calls in manually.)

Now I need to make a fake loopback protocol and test the features of the protocol driver. It should never blockup. It should enqueue several requests and return the responses in the order it received them.

It will be nice if it works. This part has been very psychologically hard for me to do because its practically difficult and conceptually simple. Those always pose serious roadblocks for me.