The NetBSD Project

CVS log for src/sys/arch/powerpc/include/ofw_machdep.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / powerpc / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 24 00:07:49 2022 UTC (15 months ago) by macallan
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 2 20:38:22 2022 UTC (15 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

fix various typos in comments and messages.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:34 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.4.4.1: +65 -0 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.4.4.1, Tue Mar 2 02:28:45 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.4: +0 -65 lines
FILE REMOVED

file ofw_machdep.h was added on branch thorpej-futex on 2021-04-03 22:28:34 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 2 02:28:45 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: thorpej-futex
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

- 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.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 28 20:31:32 2021 UTC (3 years ago) by thorpej
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 19 05:21:39 2021 UTC (3 years ago) by thorpej
Branch: MAIN
Changes since 1.1: +26 -1 lines
Diff to previous 1.1 (colored)

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.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 18 18:31:22 2021 UTC (3 years ago) by thorpej
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>