Deleted Added
full compact
bios.9 (79538) bios.9 (79727)
1.\" $FreeBSD: head/share/man/man9/bios.9 79538 2001-07-10 15:31:11Z ru $
1.\" $FreeBSD: head/share/man/man9/bios.9 79727 2001-07-14 19:41:16Z schweikh $
2.\"
3.\" Copyright (c) 1997 Michael Smith
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:
9.\" 1. Redistributions of source code must retain the above copyright

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

23.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.Dd August 1, 1997
28.Dt BIOS 9
29.Os
30.Sh NAME
2.\"
3.\" Copyright (c) 1997 Michael Smith
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:
9.\" 1. Redistributions of source code must retain the above copyright

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

23.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.Dd August 1, 1997
28.Dt BIOS 9
29.Os
30.Sh NAME
31.Nm bios_sigsearch ,
31.Nm bios_sigsearch ,
32.Nm bios32_SDlookup ,
33.Nm bios32
34.Nd interact with PC BIOS
35.Sh SYNOPSIS
36.Fd #include <sys/types.h>
37.Fd #include <machine/pc/bios.h>
38.Ft u_int32_t
39.Fn bios_sigsearch "u_int32_t start" "u_char *sig" "int siglen" "int paralen" "int sigofs"

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

58or at the beginning of the BIOS if
59.Fa start
60is zero.
61.Fa siglen
62bytes of the BIOS image and
63.Fa sig
64are compared at
65.Fa sigofs
32.Nm bios32_SDlookup ,
33.Nm bios32
34.Nd interact with PC BIOS
35.Sh SYNOPSIS
36.Fd #include <sys/types.h>
37.Fd #include <machine/pc/bios.h>
38.Ft u_int32_t
39.Fn bios_sigsearch "u_int32_t start" "u_char *sig" "int siglen" "int paralen" "int sigofs"

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

58or at the beginning of the BIOS if
59.Fa start
60is zero.
61.Fa siglen
62bytes of the BIOS image and
63.Fa sig
64are compared at
65.Fa sigofs
66bytes offset from the current location. If no match is found, the
66bytes offset from the current location. If no match is found, the
67current location is incremented by
68.Fa paralen
69bytes and the search repeated. If the signature is found, its effective
70physical address is returned. If no signature is found, zero is returned.
71.It Fn BIOS_VADDRTOPADDR
72Returns the effective physical address which corresponds to the kernel
73virtual address
74.Fa addr .
75.It Fn BIOS_VADDRTOPADDR
76Returns the kernel virtual address which corresponds to the effective
77physical address
78.Fa addr .
79.It SMBIOStable
80If not NULL, points to a
81.Ft struct SMBIOS_table
67current location is incremented by
68.Fa paralen
69bytes and the search repeated. If the signature is found, its effective
70physical address is returned. If no signature is found, zero is returned.
71.It Fn BIOS_VADDRTOPADDR
72Returns the effective physical address which corresponds to the kernel
73virtual address
74.Fa addr .
75.It Fn BIOS_VADDRTOPADDR
76Returns the kernel virtual address which corresponds to the effective
77physical address
78.Fa addr .
79.It SMBIOStable
80If not NULL, points to a
81.Ft struct SMBIOS_table
82structure containing information read from the System Management BIOS table
82structure containing information read from the System Management BIOS table
83during system startup.
84.It DMItable
85If not NULL, points to a
86.Ft struct DMI_table
87structure containing information read from the Desktop Management Interface
88parameter table during system startup.
89.El
90.Sh BIOS32

--- 24 unchanged lines hidden ---
83during system startup.
84.It DMItable
85If not NULL, points to a
86.Ft struct DMI_table
87structure containing information read from the Desktop Management Interface
88parameter table during system startup.
89.El
90.Sh BIOS32

--- 24 unchanged lines hidden ---