shithub: riscv

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