Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (16m)  netbsd-10 (4d)  netbsd-9 (4d)  netbsd-8 (8d) 

2024-05-20 14:57:56 UTC Now

2011-02-13 10:14:17 UTC MAIN commitmail json YAML

2009-05-11 20:13:50 UTC MAIN commitmail json YAML

Replace shutdownhooks with pmf in sec(4).

(bjh21)

2009-02-16 21:36:09 UTC MAIN commitmail json YAML

Make arckbd(4) compile even if the kernel is lacking wsmouse(4), wskbd(4),
rnd(4), or any combination of thoses.  Thanks to Havard Eidnes for reporting
the build breakage.

(bjh21)

2009-02-14 10:20:56 UTC MAIN commitmail json YAML

I've just discovered config_found_ia(), which means that wskbd(4) and
wsmouse(4) can attach directly at arckbd(4) and I can dispose of the
ugly arcwsmouse(4) and arcwskbd(4) interpositions.  Do that, and purge
them from the documentation as well.

(bjh21)

2009-01-25 15:23:42 UTC MAIN commitmail json YAML

Split device_t from wd33c93_softc.  Reviewed by cube; tested on sgimips
by tsutsui.

(bjh21)

2009-01-25 14:34:14 UTC MAIN commitmail json YAML

The introduction of config_stdsubmatch() lost an important feature of
upc_submatch() whereby it made sure that the correct driver attached.
Since this didn't really belong in the submatch function anyway,
reintroduce it in the match functions for upc's children.

This allows my A5000 to find at least one of its hard disks.

(bjh21)

2009-01-21 23:36:30 UTC MAIN commitmail json YAML

Make sure that dp8390_intr() gets passed the softc pointer, not the device
pointer, when it's called.

(bjh21)

2009-01-20 20:57:26 UTC MAIN commitmail json YAML

Convert more printfs to aprint_* and use the latter more consistently.

(bjh21)

2009-01-20 20:47:25 UTC MAIN commitmail json YAML

Bump date for last change.

(bjh21)

2009-01-20 20:45:11 UTC MAIN commitmail json YAML

sec(4): use device_t and cfdata_t rather than explicit structure pointers.

(bjh21)

2009-01-19 23:43:14 UTC MAIN commitmail json YAML

Autoconfiguration cleanup for eca(4):
- Use device_t and cfdata_t.
- Split device_t out of eca_softc.
- Use aprint_*() rather than printf().
- Use device_xname().

(bjh21)

2009-01-19 23:09:23 UTC MAIN commitmail json YAML

Split device_t from softc in arcvideo(4).  Also tidy a rogue printf().

(bjh21)

2009-01-19 00:11:16 UTC MAIN commitmail json YAML

Split device_t out of softc, with one small fix where something wanted the
device_t but was getting the softc.

(bjh21)

2009-01-18 23:25:12 UTC MAIN commitmail json YAML

2009-01-18 23:23:40 UTC MAIN commitmail json YAML

Be consistent about what the void* cookies we pass to and from wscons contain,
in preparation for splitting softc and device_t.

(bjh21)

2009-01-18 22:57:55 UTC MAIN commitmail json YAML

Use device_xname() rather than dv_xname.

(bjh21)

2009-01-18 22:43:04 UTC MAIN commitmail json YAML

Autoconfiguration cleanup:
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use aprint_*() rather than printf().
- Use device_*() rather than directly accessing structure members.
- Split device_t out of podulebus_softc.

(bjh21)

2009-01-18 20:31:08 UTC MAIN commitmail json YAML

2009-01-18 18:41:34 UTC MAIN commitmail json YAML

Now that I've fixed the bootstrap IIC stuff, split device_t out of softc.

(bjh21)

2009-01-18 18:24:23 UTC MAIN commitmail json YAML

Add ARM_LOCK_CAS_DEBUG.

(bjh21)

2009-01-18 18:24:00 UTC MAIN commitmail json YAML

A commit I missed from the recent migration to arm/fusu.S.

(bjh21)

2009-01-18 16:42:09 UTC MAIN commitmail json YAML

Adapt the arm32 fusu implementation for use on PROG26 configurations
and use it on acorn26.

(bjh21)

2009-01-18 15:43:20 UTC MAIN commitmail json YAML

Move arch/arm/arm32/fusu.S to arch/arm/arm/fusu.S in preparation for making
it usable on acorn26 as well.

(bjh21)

2009-01-18 15:14:34 UTC MAIN commitmail json YAML

Add what I hope is a useful feature whereby, in DIAGNOSTIC builds, trap
handlers leave a useful sentinel value in R14_svc instead of their own
return address.  This should mean that if something causes a trap in SVC
mode without saving R14 first, it'll cause a nice obvious panic rather than
a hang or worse.  Of course, if it's using R14 as a temporary, there may
still be some confusion.

(bjh21)

2009-01-18 01:31:58 UTC MAIN commitmail json YAML

Need <arm/cpu.h> for GET_CURPCB.
Also, while it's true that at the moment struct user only contains
struct pcb, we probably shouldn't rely on that.

(bjh21)

2009-01-18 01:30:44 UTC MAIN commitmail json YAML

Need <arm/cpu.h> for GET_CURPCB.

(bjh21)

2009-01-18 01:19:33 UTC MAIN commitmail json YAML

Now that GET_CURPCB and GET_CURCPU are generally available, use them
unconditionally rather than rolling our own (often badly) all over the
place.

(bjh21)

2009-01-18 01:17:07 UTC MAIN commitmail json YAML

Let the assembler generate my literal pools for me, since that makes things
more readable.

(bjh21)

2009-01-18 00:36:29 UTC MAIN commitmail json YAML

Define a version of GET_CURCPU, GET_CURLWP, and GET_CURPCB for use on
old uniprocessor ARMs, and re-arrange the ifdefs so that it gets
used on 26-bit systems as well.  This allows us to uniformly use these
macros everywhere.

(bjh21)

2009-01-17 22:56:34 UTC MAIN commitmail json YAML

Clear out the vestigial support for the Simtec Hydra board.  Now that we're
getting support for proper SMP ARMs, keeping non-functional support for
a seriously crippled not-really-SMP system is likely to cause more problems
than it's worth, even if it was fun for a while.

(bjh21)

2009-01-17 16:08:02 UTC MAIN commitmail json YAML

Use more fields from curcup(), specifically ci_dev (replacing the local
the_cpu) and the various fields set from the CPU ID register.

(bjh21)

2009-01-17 15:43:52 UTC MAIN commitmail json YAML

Small tweak to kernel RAS restart code: there's no need to restart if PC
is already at the first instruction of the RAS.

(bjh21)

2009-01-17 14:14:56 UTC MAIN commitmail json YAML

Remove the implementation of cpu_intr_p() from here now that it's in
arm/arm_machdep.h.  Should fix builds on arm32 platforms.  Thanks to
Matt Fleming for reporting the problem.

(bjh21)

2009-01-16 10:28:24 UTC MAIN commitmail json YAML

Simplify the pre-ARMv6 code.  Specifically:
* Take advantage of conditional instructions to avoid branching.
* Tweak register allocation to remove some MOVs from the debug code.
* In the debug code, only the address of the counter varies between
  the success and failure cases, so make the rest of the code common.

Also correct the initial comment: _lock_cas returns the old value, not a
boolean.

(bjh21)

2009-01-16 01:03:47 UTC MAIN commitmail json YAML

cpu_info_store, machine, and machine_arch can all be shared by acorn26 and
arm32, so share them.

(bjh21)

2009-01-16 00:44:44 UTC MAIN commitmail json YAML

acorn26 and arm32 have identical versions of cpu_need_resched().  Unify them.
Similarly, with a small tweak acorn26 can use the same cpu_intr_p() as arm32,
so those can be unified too.

(bjh21)

2009-01-16 00:13:25 UTC MAIN commitmail json YAML

Remove a couple of spurious instructions from irq_entry -- there's
no need to copy SP into R0 to pass to irq_handler() when R0 already
contains SP from a few instructions earlier.

(bjh21)

2009-01-15 23:33:41 UTC MAIN commitmail json YAML

ILL_ILLTRP seems like the right code for a SWI that's not in the range
assigned for syscalls, so use it.

(bjh21)

2009-01-14 23:14:48 UTC MAIN commitmail json YAML

2009-01-14 22:17:52 UTC MAIN commitmail json YAML

Nothing uses set_r13_irq().  Indeed, NetBSD/acorn26 doesn't use R13_irq
at all.  G/c the function.

(bjh21)

2009-01-14 20:43:28 UTC MAIN commitmail json YAML

atomic_set_bit() and atomic_clear_bit() are unused.  Garbage-collect them.
If anyone wants such functionality, it's trivially synthesised with
atomic_cas_uint() anyway.

(bjh21)

2009-01-14 20:40:55 UTC MAIN commitmail json YAML

Use a compatible format for printing suseconds_t.

(bjh21)

2009-01-13 22:43:49 UTC MAIN commitmail json YAML

Make the restartable atomic sequence for _lock_cas() actually atomic and
restartable on acorn26.

(bjh21)

2009-01-10 22:06:29 UTC MAIN commitmail json YAML

Add support for encoding RISC OS metadata into ISO 9660 filesystems.
This is done by adding the general ability to stuff non-SUSP data into
the end of the System Use field of a Directory Record, which required
some amount of rewriting of the SUSP support.  I think the result is
at least as good as what came before, and I've fixed at least one bug
along the way.  Tested against RISC OS 3.70 on my Risc PC.

Oh, why do we want it?  It should allow us to make acorn{26,32} CDs that
can be booted directly from RISC OS without mucking around copying the
bootloader to a native filing system.

(bjh21)

2009-01-09 00:24:07 UTC MAIN commitmail json YAML

Fix another bug in SUSP "CE" handling: when the SUSP records fit into
the System Use field with fewer then 28 bytes to spare, we were
remembering the wrong length for the System Use field and hence
emitting a corrupt directory entry.  This could be triggered by trying
to build a filesystem containing a regular file with a 120-byte name.
Now we're a little more careful.

(bjh21)

2009-01-08 23:31:33 UTC MAIN commitmail json YAML

When splitting a System Use Area between a System Use field and a
Continuation Area, be sure to insert the "CE" record at the correct
point in the chain of SUSP records.  Without this, makefs emits
an invalid image if any file needs a Continuation Area.  The bug
seems to have been introduced with the conversion to TAILQs.

(bjh21)

2009-01-08 22:28:45 UTC MAIN commitmail json YAML

Typo: debuging -> debugging.

(bjh21)

2009-01-08 22:26:19 UTC MAIN commitmail json YAML

If the user specifies a cd9660-specific option that needs an integer value
without supplying a value, complain at them instead of segfaulting.
Or, to put it another way, check that the value is non-NULL before calling
set_option().

(bjh21)

2009-01-07 23:14:40 UTC MAIN commitmail json YAML

Autoconfiguration cleanup for arcvideo(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use device_private() rather than a cast to convert device_t to a softc.
- Use device_*() to get at the innards of device_t.
device/softc split not done yet because of worrying about bootstrap console
stuff.

(bjh21)

2009-01-07 23:05:46 UTC MAIN commitmail json YAML

Autoconfiguration cleanup for arcpp(4):
- Split device_t out of softc.
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use device_*() rather than accessing parts of device_t directly.
- Use aprint_*() rather than printf().
Also ANSIfy arcpppushbytes.

(bjh21)

2009-01-07 23:01:53 UTC MAIN commitmail json YAML

Add arcpp(4) and eca(4) since they are aren't horribly broken.

(bjh21)

2009-01-07 22:58:38 UTC MAIN commitmail json YAML

Rework the bootstrap IIC stuff used by cmos_read() so that it works
properly, albeit only after iociic0 has been attached.  Happily,
cmos_read() isn't needed before that anyway.

(bjh21)

2009-01-07 20:56:40 UTC MAIN commitmail json YAML

2009-01-07 00:09:24 UTC MAIN commitmail json YAML

Autoconfiguration cleanup for latches(4):
- Split struct device out of the softc.
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use aprint_*() rather than printf().
- Use device_private() to convert device_t into softc.

(bjh21)

2009-01-07 00:06:59 UTC MAIN commitmail json YAML

Autoconfiguration cleanup for iociic(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use aprint_*() rather than printf().
- Pass "self" to config_found_ia rather than &sc->sc_dev.
Also an amount of KNF.
I haven't actually split the device structure off from the softc because
iociic_bootstrap_cookie() expects to allocate fake versions of both at once,
and I've not yet decided what it's best to do about that.

(bjh21)

2009-01-06 23:58:00 UTC MAIN commitmail json YAML

Autoconfiguration cleanup for arckbd(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Split device and (non-existent) softc for arcwskbd and arcwsmouse.
- Use aprint_*() rather than printf().
- Use device_*() to access fields of device_t.
- Use device_private() rather than a cast to convert from device_t to softc.
device/softc split not done for arckbd(4) itself because there are lots
of void* cookies that get treated as arckbd_softc at one end and device_t
at the other, and they'll need a little thought to clean up.

(bjh21)

2009-01-06 23:51:35 UTC MAIN commitmail json YAML

Autoconfiguration cleanup for upc(4) at iobus(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use device_*() to access parts of device_t.
- Use device_private() to convert device_t into a softc.
device and softc not split because that will involve venturing outside
sys/arch/acorn26 and I want to get that cleaned up first.

(bjh21)

2009-01-06 23:48:30 UTC MAIN commitmail json YAML

Autoconfiguration cleanup for ioc(4):
- Use aprint_*() rather than printf().
- Use device_t and cfdata_t rather than explicit pointer types.
- Use device_* to get at parts of device_t.
- Use device_private to convert device_t into ioc_softc *.
Note that I haven't yet separated the softc from the device structure because
this driver will need a little care in doing that.

(bjh21)

2009-01-06 23:44:27 UTC MAIN commitmail json YAML

Autoconfiguration cleanup:
- Use aprint_*() rather than printf().
- Split device_t from iobus_softc and remove the latter since it's empty.
- Use device_t and cfdata_t rather than explicit structure pointers.

(bjh21)

2009-01-06 23:41:28 UTC MAIN commitmail json YAML

Autoconfiguration cleanup:
- Use aprint_*() rather than printf().
- Split device_t out of cpu_softc, then remove the latter entirely since that
  left it empty.
- Use device_t and cfdata_t rather than explicit structure types.

(bjh21)

2009-01-06 23:35:39 UTC MAIN commitmail json YAML

Replace the local current_spl with the ARM-wide curcpu()->ci_cpl, since
otherwise a DEBUG kernel panics at the first AST, though I don't think
any non-DEBUG code cares.

(bjh21)

2009-01-04 01:06:26 UTC MAIN commitmail json YAML

Add a TESTING kernel configuration that includes GENERIC with useful
diagnostic options turned on and any local drivers that aren't ready
for GENERIC yet but still ought to be tested.

(bjh21)

2009-01-04 01:02:29 UTC MAIN commitmail json YAML

device_t/softc split for experimental powerrom driver.

(bjh21)

2009-01-04 00:36:01 UTC MAIN commitmail json YAML

2009-01-03 18:15:11 UTC MAIN commitmail json YAML

Initialise cpu_info_store so that we start up with a valid curlwp.

(bjh21)

2009-01-02 23:33:04 UTC MAIN commitmail json YAML

2009-01-02 23:23:14 UTC MAIN commitmail json YAML

Add a comment explaining what the RISC OS 3 PRM says about *Info.

(bjh21)

2009-01-02 19:38:57 UTC MAIN commitmail json YAML

Cope with longer hostnames, including FQDNs as recommended by sysinst.

(bjh21)

2009-01-02 19:21:54 UTC MAIN commitmail json YAML