All pastes #765442 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-08 01:02 UTC
rendered paste body
module testNullStream {
   import rt = coyotos.RunTime;
   import Image = coyotos.Image;
   import bp = coyotos.BootProcess;

   import ns = coyotos.NullStream;

   def bank = new Bank(PrimeBank);
   def image = Image.load_elf(bank, "testNullStream");
   def testNullStream = bp.make(bank, image, NullCap(), NullCap());

   testNullStream.capReg[rt.REG.APP0] = ns.constructor;
   testNullStream.capReg[rt.REG.APP0 + 1] = KernLog();
}