menu.4th (26a58599a09a6181e0f5abe624021865a0c23186) menu.4th (37798b1d5dd12cd5e842b6f99135a2e4af8cf9e0)
1\ Copyright (c) 2003 Scott Long <scottl@FreeBSD.org>
2\ Copyright (c) 2003 Aleksander Fafula <alex@fafula.com>
3\ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org>
4\ All rights reserved.
5\
6\ Redistribution and use in source and binary forms, with or without
7\ modification, are permitted provided that the following conditions
8\ are met:

--- 133 unchanged lines hidden (view full) ---

142
143: arch-i386? ( -- BOOL ) \ Returns TRUE (-1) on i386, FALSE (0) otherwise.
144 s" arch-i386" environment? dup if
145 drop
146 then
147;
148
149: acpipresent? ( -- flag ) \ Returns TRUE if ACPI is present, FALSE otherwise
1\ Copyright (c) 2003 Scott Long <scottl@FreeBSD.org>
2\ Copyright (c) 2003 Aleksander Fafula <alex@fafula.com>
3\ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org>
4\ All rights reserved.
5\
6\ Redistribution and use in source and binary forms, with or without
7\ modification, are permitted provided that the following conditions
8\ are met:

--- 133 unchanged lines hidden (view full) ---

142
143: arch-i386? ( -- BOOL ) \ Returns TRUE (-1) on i386, FALSE (0) otherwise.
144 s" arch-i386" environment? dup if
145 drop
146 then
147;
148
149: acpipresent? ( -- flag ) \ Returns TRUE if ACPI is present, FALSE otherwise
150 s" hint.acpi.0.rsdp" getenv
150 s" acpi.rsdp" getenv
151 dup -1 = if
152 drop false exit
153 then
154 2drop
155 true
156;
157
158: acpienabled? ( -- flag ) \ Returns TRUE if ACPI is enabled, FALSE otherwise

--- 1169 unchanged lines hidden ---
151 dup -1 = if
152 drop false exit
153 then
154 2drop
155 true
156;
157
158: acpienabled? ( -- flag ) \ Returns TRUE if ACPI is enabled, FALSE otherwise

--- 1169 unchanged lines hidden ---