File:  [Qemu by Fabrice Bellard] / qemu / roms / openbios / Documentation / kernel / initializers.txt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 19:19:39 2018 UTC (8 years, 1 month ago) by root
Branches: qemu, MAIN
CVS tags: qemu1101, qemu1001, HEAD
qemu 1.0.1


Initializers are called when the forth kernel is started, to do some
initialization stuff. 
Pro: If code needs initialization you can keep this in place with the code
and don't need to patch the kernel itself to do so.

There are 2 types of initializers. "Normal" and "Late" initializers.

Since initializers are only called during startup, they don't need a name.

Definition:
  initializer      ( xt -- )
  late-initializer ( xt -- )

Examples:
  :noname <definition> ; initializer

  :noname
     some-base initializations
  ; late-initializer
 
Late initializers are run after all ordinary initializers have
been executed.


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.