summaryrefslogtreecommitdiff
path: root/libps/tty.c
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-09-20 21:39:02 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-09-20 21:39:02 +0200
commit22bc9da3dd61c6b12f8d03946ef75ec9cfb88a22 (patch)
tree74d5a3fe9843307c99543ff4b91bb65b8e20d00d /libps/tty.c
parente58f5b6e2ef7ec859b799ba3d58914443ae47efe (diff)
Add device virtualisation support to boot
* boot/boot.c: Add '-f' option. (dev_map): New structure. (dev_map_head): New variable. (add_dev_map): New function. (lookup_dev): New function. (parse_opt): Handle the '-f' option: call 'add_dev_map'. (ds_device_open): Try to call 'lookup_dev', and open the device from the device file if it succeeds.
Diffstat (limited to 'libps/tty.c')
0 files changed, 0 insertions, 0 deletions