ref: 6b84c3a6548f1c577948763b0a09a7b6e2460e04
dir: /os/boot/pc/apm.c/
#include "u.h" #include "lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "io.h" Apminfo apm; void apminit(void) { if(getconf("apm0") && apm.haveinfo) changeconf("apm0=ax=%x ebx=%x cx=%x dx=%x di=%x esi=%x\n", apm.ax, apm.ebx, apm.cx, apm.dx, apm.di, apm.esi); }