summaryrefslogtreecommitdiffstats
path: root/contrib/amd
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-03-30 07:32:08 +0000
committermarcel <marcel@FreeBSD.org>2002-03-30 07:32:08 +0000
commitdd7885b88d86945bdfa6cda1778915c71dbdb7e5 (patch)
tree3b0440eb13c3a13e3e698ab7bd8807e59fb17a77 /contrib/amd
parent64a996484de482b9b6f2a8b00e8e32761e2882ca (diff)
downloadFreeBSD-src-dd7885b88d86945bdfa6cda1778915c71dbdb7e5.zip
FreeBSD-src-dd7885b88d86945bdfa6cda1778915c71dbdb7e5.tar.gz
Add a quick and dirty way to determine where we're loaded from. We
only care if it's network or not at this time. If we're loaded from the network, we set currdev (=loaddev) so that the kernel is loaded from the network as well. In all other cases we initialize to disk. This makes netbooting more convenient and can easily be enhanced to do more elaborate checking.
Diffstat (limited to 'contrib/amd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud