summaryrefslogtreecommitdiff
path: root/poke.cpp
blob: 7a933728463596b998d2aa6bac0e21844fa13f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "nvlib.h"

int main(int argc, char** argv)
{
	std::auto_ptr<nv_device> dev;
	dev.reset(nv_device::open_default());

	dev->wr32(strtoul(argv[1], 0, 0), strtoul(argv[2], 0, 0));
	return 0;
}