| Age | Commit message (Collapse) | Author |
|
- Remove workaround for old gas(1) bug.
No binary changes.
|
|
XXX
Compile test only (at least one arch per driver).
|
|
|
|
|
|
I've confirmed that kernels similar to amd64/conf/MODULAR work fine
both on 403 and 405.
XXX
Unfortunately, we cannot immediately switch evbppc/booke to generic
kernel modules yet; it has its own intr.h implementation.
|
|
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
|
|
|
|
|
|
|
|
evbppc/evbppc_machdep.c (bad naming; used only for 4xx boards).
|
|
|
|
|
|
- Fix WSDISPLAYIO_GTYPE ioctl.
- Support WSDISPLAYIO_LINEBYTES, _{GET,PUT}CMAP, and _SMODE ioctl.
As well as tiny improvements related to it:
- Use actual size of framebuffer for bus_space_mmap(9), as well as upper
bound for mmap(2).
- Use base address obtained from autoconf(9) layer for mmap(2), instead of
hard-coded one.
- Use rasops_cmap as default color map, instead of our own ANSI color map.
- Show monitor resolution and color depth instead of size as tty.
I've confirmed that mlterm-fb from pkgsrc/x11/mlterm also works fine.
|
|
- Group function declarations, and reorder function bodies accordingly.
- Misc KNF.
|
|
|
|
|
|
http://www.nerv.org/netbsd/?q=id:20210305T064016Z.410b0e33273c3a62110d09e8bb27939f6a8bab38
> Map framebuffer to virtual space when fb(4) is present,
> even if it is not console.
Direct mapping for framebuffer is required only if fb(4) is console.
XXX
It would be nice if we can remove reserved TLB entries after
fb(4) is properly attached.
|
|
There are models numbered 450 to 454. The differences b/w them are
shapes of ethernet and audio connectors. Base model number 450 is
displayed for (probably) all models by firmware.
|
|
Almost all colors except *green* were wrong for the apparent reason ;).
|
|
Now, wsdisplay(4) can be used with serial console.
|
|
even if it is not console.
|
|
|
|
ibm4xx and ibm40x for clarity as well as better comparison with other boards.
No functional changes intended.
|
|
|
|
tty(4) routines are unexpectedly interrupted, which results in
"locking against myself" errors for tty_lock.
|
|
depends on delay() and DELAY().
Unfortunately, proplib(9) API is not available for MD codes, that are
called before consinit() (since pool(9) is not initialized yet).
Therefore, hard-code CPU frequency to calc_delayconst() in case
"processor-frequency" is not initialized.
|
|
|
|
via intr_establish().
|
|
|
|
|
|
|
|
cached value will do, or if the very latest total must be fetched. It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.
|
|
|
|
|
|
some additional changers.
|
|
So do it manually to appease gas.
|
|
|
|
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
|
|
|
|
is enabled in powerpc-layer.
|
|
|
|
from "assym.h".
|
|
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.
|
|
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.
|
|
|
|
"powerpc-ibm4xx" or "powerpc-booke".
|
|
struct device * -> device_t
struct cfdata * -> cfdata_t
use bool when appropriate
some constification
|
|
|
|
soon will.
|
|
as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.
Various #include fixes and review by matt@.
|