Thanks for the inspiration. After reading this, I added VIA padlock support to my CPU miner.
Cool! Did you ever figure out how to get midstate caching working with it? I thought th C7 were capable of it. I know the Nanos are, but I thought VIA had it somewhere on their site. I'll have to try a Windows build of it.
I had not even gotten far enough to determine why your code lacked the midstate caching stuff

If you have the hardware (I don't), giving my miner a try would be really helpful. I don't even have a simple "it works" confirmation on VIA yet.
If you happen to figure out anything interesting, I'll be happy to integrate it and post a new Windows build.