File:  [Qemu by Fabrice Bellard] / qemu / roms / openbios / libopenbios / helpers.fs
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

\ tag: helper functions
\ 
\ deblocker / filesystem support
\ 
\ Copyright (C) 2003 Samuel Rydh
\ 
\ See the file "COPYING" for further information about
\ the copyright and warranty status of this work.
\ 


\ create device node and any missing parents.
\ The new node becomes the active package

: create-node ( nodepath -- )
  recursive
  ascii / right-split
  2dup find-dev if
    active-package!
    2drop
  else
    ( nodename path )
    dup if
      create-node
    else
      device-tree @ active-package!
      2drop
    then
  then
  new-device
  device-name
  active-package
  finish-device
  active-package!
;

unix.superglobalmegacorp.com

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