|
|
1.1 root 1: # Empatch - patch a kernel so that the emulator is enabled.
2: #
3: # This involves patching three function pointers that are initially null:
4: #
5: # ndpEmFn: becomes address of math_emulate()
6: # ndpKfsave: becomes address of kfsave()
7: # ndpKfrstor: becomes address of kfrstor()
8: KER=${1-/tx}
9: echo "Enabling emulator in $KER"
10:
11: /conf/patch -v $KER "ndpEmFn=math_emulate" "ndpKfsave=kfsave" \
12: "ndpKfrstor=kfrstor"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.