head     2.0;
branch   ;
access   ;
symbols  ;
locks    bin:2.0;
comment  @# @;


2.0
date     93.07.16.20.02.30;  author bin;  state Exp;
branches ;
next     ;


desc
@@



2.0
log
@*** empty log message ***
@
text
@# Empatch - patch a kernel so that the emulator is enabled.
#
# This involves patching three function pointers that are initially null:
#
# ndpEmFn:	becomes address of math_emulate()
# ndpKfsave:	becomes address of kfsave()
# ndpKfrstor:	becomes address of kfrstor()
KER=${1-/tx}
echo "Enabling emulator in $KER"

/conf/patch -v $KER "ndpEmFn=math_emulate" "ndpKfsave=kfsave" \
  "ndpKfrstor=kfrstor"
@
