beastie.4th (212338) | beastie.4th (215016) |
---|---|
1\ Copyright (c) 2003 Scott Long <scottl@freebsd.org> 2\ Copyright (c) 2003 Aleksander Fafula <alex@fafula.com> 3\ All rights reserved. 4\ 5\ Redistribution and use in source and binary forms, with or without 6\ modification, are permitted provided that the following conditions 7\ are met: 8\ 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18\ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19\ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20\ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21\ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22\ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24\ SUCH DAMAGE. 25\ | 1\ Copyright (c) 2003 Scott Long <scottl@freebsd.org> 2\ Copyright (c) 2003 Aleksander Fafula <alex@fafula.com> 3\ All rights reserved. 4\ 5\ Redistribution and use in source and binary forms, with or without 6\ modification, are permitted provided that the following conditions 7\ are met: 8\ 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18\ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19\ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20\ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21\ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22\ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24\ SUCH DAMAGE. 25\ |
26\ $FreeBSD: head/sys/boot/forth/beastie.4th 212338 2010-09-08 20:10:29Z jhb $ | 26\ $FreeBSD: head/sys/boot/forth/beastie.4th 215016 2010-11-08 21:50:45Z jhb $ |
27 28marker task-beastie.4th 29 30include /boot/screen.4th 31include /boot/frames.4th 32 33hide 34 --- 101 unchanged lines hidden (view full) --- 136 \ no logo 137 exit 138 then 139 2drop 140 fbsdbw-logo 141; 142 143: acpienabled? ( -- flag ) | 27 28marker task-beastie.4th 29 30include /boot/screen.4th 31include /boot/frames.4th 32 33hide 34 --- 101 unchanged lines hidden (view full) --- 136 \ no logo 137 exit 138 then 139 2drop 140 fbsdbw-logo 141; 142 143: acpienabled? ( -- flag ) |
144 s" acpi_load" getenv | 144 s" hint.acpi.0.rsdp" getenv |
145 dup -1 = if 146 drop false exit 147 then | 145 dup -1 = if 146 drop false exit 147 then |
148 s" YES" compare-insensitive 0<> if 149 false exit 150 then | 148 2drop |
151 s" hint.acpi.0.disabled" getenv 152 dup -1 <> if 153 s" 0" compare 0<> if 154 false exit 155 then 156 else 157 drop 158 then --- 90 unchanged lines hidden (view full) --- 249 dup tkey 250 0 25 at-xy 251 dup 32 = if nip 0 swap then 252 dup -1 = if 0 boot then 253 dup 13 = if 0 boot then 254 dup bootkey @ = if 0 boot then 255 dup bootacpikey @ = if 256 acpienabled? if | 149 s" hint.acpi.0.disabled" getenv 150 dup -1 <> if 151 s" 0" compare 0<> if 152 false exit 153 then 154 else 155 drop 156 then --- 90 unchanged lines hidden (view full) --- 247 dup tkey 248 0 25 at-xy 249 dup 32 = if nip 0 swap then 250 dup -1 = if 0 boot then 251 dup 13 = if 0 boot then 252 dup bootkey @ = if 0 boot then 253 dup bootacpikey @ = if 254 acpienabled? if |
257 s" acpi_load" unsetenv | |
258 s" 1" s" hint.acpi.0.disabled" setenv 259 s" 1" s" loader.acpi_disabled_by_user" setenv 260 else | 255 s" 1" s" hint.acpi.0.disabled" setenv 256 s" 1" s" loader.acpi_disabled_by_user" setenv 257 else |
261 s" YES" s" acpi_load" setenv | |
262 s" 0" s" hint.acpi.0.disabled" setenv 263 then 264 0 boot 265 then 266 dup bootsafekey @ = if 267 s" arch-i386" environment? if 268 drop | 258 s" 0" s" hint.acpi.0.disabled" setenv 259 then 260 0 boot 261 then 262 dup bootsafekey @ = if 263 s" arch-i386" environment? if 264 drop |
269 s" acpi_load" unsetenv | |
270 s" 1" s" hint.acpi.0.disabled" setenv 271 s" 1" s" loader.acpi_disabled_by_user" setenv 272 s" 1" s" hint.apic.0.disabled" setenv 273 then 274 s" 0" s" hw.ata.ata_dma" setenv 275 s" 0" s" hw.ata.atapi_dma" setenv 276 s" 0" s" hw.ata.wc" setenv 277 s" 0" s" hw.eisa_slots" setenv --- 21 unchanged lines hidden --- | 265 s" 1" s" hint.acpi.0.disabled" setenv 266 s" 1" s" loader.acpi_disabled_by_user" setenv 267 s" 1" s" hint.apic.0.disabled" setenv 268 then 269 s" 0" s" hw.ata.ata_dma" setenv 270 s" 0" s" hw.ata.atapi_dma" setenv 271 s" 0" s" hw.ata.wc" setenv 272 s" 0" s" hw.eisa_slots" setenv --- 21 unchanged lines hidden --- |