#! /bin/sh # # This file generates the symbol table for the kvm subsystem. The # table is limited to the ones we believe are needed. symbols="" while read sym do symbols="${symbols} ${sym}" done < #include "kvm_private.h" /* * The following is the known list of symbols that may be passed * to the kvm family of calls. */ EOF for sym in ${symbols} do echo "extern int _bsd${sym} __attribute((weak));" done cat <