code: 9ferno

ref: e81c54ba2ecc673a4d5f8aed0e9b52841fe07b0d
dir: /os/boot/bitsy/map/

View raw version
defn acidmap()
{
	local dfoffset;

	dfoffset = map()[1][3];
	map({"text", _start, etext, 0x20});
	map({"data", etext+1, edata, dfoffset});
	print("Set map for plan 9 kernel image\n");
	print("btext ", _start, " etext ", etext, "\n");
}