ppc64: Don't set Kp bit on SLB
[openbios/afaerber.git] / arch / ia64 / init.fs
blob5b65dd10320780b4a7e2d2fef4984803b44d8c07
1 :noname
2 ." Type 'help' for detailed information" cr
3 \ ." boot secondary slave cdrom: " cr
4 \ ." 0 > boot hd:2,\boot\vmlinuz root=/dev/hda2" cr
5 ; DIAG-initializer
7 " /" find-device
9 new-device
10 " memory" device-name
11 \ 12230 encode-int " reg" property
12 external
13 : open true ;
14 : close ;
15 \ claim ( phys size align -- base )
16 \ release ( phys size -- )
17 finish-device
19 new-device
20 " cpus" device-name
21 1 " #address-cells" int-property
22 0 " #size-cells" int-property
24 external
25 : open true ;
26 : close ;
27 : decode-unit parse-hex ;
29 finish-device
31 : make-openable ( path )
32 find-dev if
33 begin ?dup while
34 \ install trivial open and close methods
35 dup active-package! is-open
36 parent
37 repeat
38 then
41 : preopen ( chosen-str node-path )
42 2dup make-openable
44 " /chosen" find-device
45 open-dev ?dup if
46 encode-int 2swap property
47 else
48 2drop
49 then
52 :noname
53 set-defaults
54 ; SYSTEM-initializer
56 \ preopen device nodes (and store the ihandles under /chosen)
57 :noname
58 " memory" " /memory" preopen
59 " mmu" " /cpus/@0" preopen
60 " stdout" " /builtin/console" preopen
61 " stdin" " /builtin/console" preopen
63 ; SYSTEM-initializer
65 \ use the tty interface if available
66 :noname
67 " /builtin/console" find-dev if drop
68 " /builtin/console" " input-device" $setenv
69 " /builtin/console" " output-device" $setenv
70 then
71 ; SYSTEM-initializer
73 :noname
74 " keyboard" input
75 ; CONSOLE-IN-initializer