shithub: riscv

ref: 65ef69a85d1c0f4694a361f5a0a99bdbb4f2cd95
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");
}