shithub: riscv

ref: 9984f40f07b94a2b71074d78237ff87d893ccf1e
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");
}