smbios.c (b8b05cc2b8dbd02f3ffaa2f08d0303d425fd2b56) smbios.c (7ae99f80b6661760c5de3edd330b279f04b092a2)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2003 Matthew N. Dodd <winter@jurai.net>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

119 else
120 return;
121 }
122
123 child = BUS_ADD_CHILD(parent, 5, "smbios", -1);
124 device_set_driver(child, driver);
125 bus_set_resource(child, SYS_RES_MEMORY, rid, addr, length);
126 device_set_desc(child, "System Management BIOS");
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2003 Matthew N. Dodd <winter@jurai.net>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

119 else
120 return;
121 }
122
123 child = BUS_ADD_CHILD(parent, 5, "smbios", -1);
124 device_set_driver(child, driver);
125 bus_set_resource(child, SYS_RES_MEMORY, rid, addr, length);
126 device_set_desc(child, "System Management BIOS");
127 pmap_unmapbios((vm_offset_t)eps, 0x1f);
127 pmap_unmapbios(eps, 0x1f);
128 }
129
130 return;
131}
132
133static int
134smbios_probe (device_t dev)
135{

--- 133 unchanged lines hidden ---
128 }
129
130 return;
131}
132
133static int
134smbios_probe (device_t dev)
135{

--- 133 unchanged lines hidden ---