main.fs

来自「open source bios with linux platform, ve」· FS 代码 · 共 61 行

FS
61
字号
\ tag: misc useful functions\ \ Open Firmware Startup\ \ Copyright (C) 2003 Samuel Rydh\ \ See the file "COPYING" for further information about\ the copyright and warranty status of this work.\ variable PREPOST-listvariable POST-listvariable SYSTEM-listvariable DIAG-list: PREPOST-initializer ( xt -- )  PREPOST-list list-add ,;: POST-initializer ( xt -- )  POST-list list-add ,;: SYSTEM-initializer ( xt -- )  SYSTEM-list list-add ,;: DIAG-initializer ( xt -- )  DIAG-list list-add ,;\ OpenFirmware entrypoint: initialize-of ( startmem endmem -- )  initialize-forth  PREPOST-list begin list-get while @ execute repeat  POST-list begin list-get while @ execute repeat  SYSTEM-list begin list-get while @ execute repeat  \ evaluate nvramrc script  use-nvramrc? if    nvramrc evaluate  then  \ probe-all etc.  suppress-banner? 0= if    probe-all    install-console    banner  then  DIAG-list begin list-get while @ execute repeat  auto-boot? if    boot-command evaluate  then  outer-interpreter;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?