shithub: riscv

ref: 717237303d368378283ad719ee4f2c580b99fd2b
dir: /sys/src/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");
}