History log of /src/sys/arch/powerpc/include/ofw_machdep.h |
Revision | | Date | Author | Comments |
1.7 |
| 21-Sep-2025 |
thorpej | Give each PowerPC OFW platform its own device_register(), which calls into the common ofw_device_register(). ofppc's is a simple wrapper.
macppc's, on the other hand, takes care of looking up environmental sensor descriptive information in the OFW device tree and adds those properties directly to the sensor device property dictionaries. This single implementation will replace the duplicated code that's scattered across multiple macppc i2c controller drivers.
|
1.6 |
| 24-Nov-2022 |
macallan | move ofprint() to powerpc/ofw_machdep.c and make it official now that console output uses locks it needs more of the kernel to function, so for now use direct OF calls for earliest debug output
|
1.5 |
| 02-Nov-2022 |
andvar | fix various typos in comments and messages.
|
1.4 |
| 02-Mar-2021 |
thorpej | branches: 1.4.4; - Add a boolean "ofwbootcons_suppress" that, when true, suppresses ofwbootcons I/O (i.e. "doesn't call into OFW"). This allows platform code to ensure that early console I/O doesn't occur in certain critical sections. - When printing the translations, put phys next to virt for easier visual comparisons.
|
1.3 |
| 28-Feb-2021 |
thorpej | Bump OFW_MAX_TRANSLATIONS from 32 -> 48. 32 was already tight (at least on my Macs), and having having translations for the kernel itself present in the firmware's translation table bumped it over the 32-entry limit.
|
1.2 |
| 19-Feb-2021 |
thorpej | Shuffle around a couple of things that aren't particularly OEA-specific:
- Early bootstrap console initialization moves to ofw_machdep.c, and is called a bit earlier, from ofw_bootstrap().
- Decoding the "translations" property from /chosen/mmu is specified in the general OpenFirmware PowerPC bindings, and is not specific to any particular PowerPC flavor. It's now decoded a bit earlier in ofw_bootstrap().
The *interpretation* of the mode field of a translation is, however, implementation-specific, so that remains in ofwoea_machdep.c.
|
1.1 |
| 18-Feb-2021 |
thorpej | Add an ofw_bootstrap() function, called during early bootstrap from ofwinit() to perform additional early initialization in C code. Use this to get the memory config while we're still running in the OpenFirmware client environment, rather than waiting until we've started fiddling with the system state.
|
1.4.4.2 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.4.4.1 |
| 02-Mar-2021 |
thorpej | file ofw_machdep.h was added on branch thorpej-futex on 2021-04-03 22:28:34 +0000
|