Home | History | Annotate | Download | only in arm32
History log of /src/sys/arch/arm/arm32/stubs.c
RevisionDateAuthorComments
 1.27  03-Jul-2020  skrll KNF
 1.26  20-Jun-2020  skrll KNF
 1.25  20-Jun-2020  skrll KNF #includes

Remove some unnecessary ones while I'm here.
 1.24  12-Nov-2012  skrll branches: 1.24.18; 1.24.28;
C99 types
 1.23  12-Dec-2011  mrg branches: 1.23.4; 1.23.6;
implement bdev_size(9) wrapper around d_psize() routine, so we can take
the device lock in relevant places. avoid doing so while actually dumping.

tested i386 crash dumps still work, and that all touched files compile.

fixes PR#45705.
 1.22  07-Nov-2009  cegger branches: 1.22.12; 1.22.16;
Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.
 1.21  15-Mar-2009  cegger ansify function definitions
 1.20  21-Jan-2009  he branches: 1.20.2;
Re-adapt to the changed return types for major() and minor().
 1.19  11-Jan-2009  cegger use PRI format macros to printf major and minor values
 1.18  01-Jan-2008  chris branches: 1.18.6; 1.18.10; 1.18.18; 1.18.26;
Add support for kcore headers to arm32 kernel core dumps.

The kcore code is based on i386's kcore header handling.

Having an asm stub for dumpsys, to dump the registers onto the stack, and
then call the C code to do the memory dump is based on amd64's core dump
code.

This allows a successful core dump on cats.

Part of fixing PR cats/18026.
 1.17  04-Mar-2007  christos branches: 1.17.16; 1.17.20; 1.17.22; 1.17.28; 1.17.34;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.16  21-Oct-2006  mrg branches: 1.16.4;
in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
dumpdev. this occurs when we try to set the dumpdev to a device
with no driver loaded. this fixes PR#34872.

in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf(). (this also fixes PR#34872.)

XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.

XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.
 1.15  11-Dec-2005  christos branches: 1.15.20; 1.15.22;
merge ktrace-lwp.
 1.14  15-Jul-2003  lukem branches: 1.14.16;
__KERNEL_RCSID()
 1.13  01-Apr-2003  thorpej branches: 1.13.2;
Use PAGE_SIZE rather than NBPG.
 1.12  23-Mar-2003  chris When doing a kernel dump use the pmap_k* funcs. Also make sure that all
data is written to ram. This avoids issues with tlb's not being flushed
etc.

As discussed a long time ago on port-arm
 1.11  28-Dec-2002  reinoud Remove spurious declaration of bootconfig structure since that is already
done in bootconfig.h
 1.10  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.9  23-Mar-2002  thorpej branches: 1.9.2;
Garbage-collect the "pagehook" stuff.
 1.8  06-Mar-2002  tsutsui Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.
 1.7  05-Jan-2002  chris Make some of the arm32 files build with LOOSE_PROTOTYPES not set in the makefile. Turned up a few mismatched functions. Note that this isn't all of the arm32 files. Aim will be to get arm32 kernels built with LOOSE_PROTOTYPES not set.
 1.6  26-Nov-2001  thorpej Move interrupt-related stuff out of stubs.c into intr.c.
 1.5  27-Oct-2001  rearnsha branches: 1.5.2;
Set initial spl level to SPL_SERIAL, which for some strange reason
is higher than SPL_HIGH (maybe we should be fixing SPL_HIGH).

If IPL_STATCLOCK is defined, initialize spl_masks[_SPL_STATCLOCK] from
it; otherwise initialize use IPL_CLOCK.
 1.4  05-Sep-2001  matt branches: 1.4.4;
Don't compile SPL/INTR stuff if NEWINTR is defined.
 1.3  05-Sep-2001  matt Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
includes the former and is a standard include file.
 1.2  12-Aug-2001  jdolecek Move _insque()/_remque() to libkern. Once remaining uses would
be converted to <sys/queue.h> macros, _insque()/_remque() would be eliminated
altogether.
 1.1  28-Jul-2001  chris branches: 1.1.2;
Move the generic arm32 files into arm/arm32 from arm32/arm32, tested kernel builds on cats and riscpc.
 1.1.2.8  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.2.7  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.6  16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.5  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.4  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.1.2.3  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.1.2.2  03-Aug-2001  lukem update to -current
 1.1.2.1  28-Jul-2001  lukem file stubs.c was added on branch kqueue on 2001-08-03 04:10:59 +0000
 1.4.4.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.5.2.7  29-Dec-2002  thorpej Sync with HEAD.
 1.5.2.6  17-Sep-2002  nathanw Catch up to -current.
 1.5.2.5  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.5.2.4  28-Feb-2002  nathanw Catch up to -current.
 1.5.2.3  11-Jan-2002  nathanw More catchup.
 1.5.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.5.2.1  27-Oct-2001  nathanw file stubs.c was added on branch nathanw_sa on 2002-01-08 00:23:09 +0000
 1.9.2.1  19-May-2002  gehenna Replace the access to devsw table and the hard-coded majors with devsw API.
 1.13.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.13.2.1  03-Aug-2004  skrll Sync with HEAD
 1.14.16.3  21-Jan-2008  yamt sync with head
 1.14.16.2  03-Sep-2007  yamt sync with head.
 1.14.16.1  30-Dec-2006  yamt sync with head.
 1.15.22.1  22-Oct-2006  yamt sync with head
 1.15.20.1  18-Nov-2006  ad Sync with head.
 1.16.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.17.34.1  02-Jan-2008  bouyer Sync with HEAD
 1.17.28.1  18-Feb-2008  mjf Sync with HEAD.
 1.17.22.1  09-Jan-2008  matt sync with HEAD
 1.17.20.1  01-Jan-2008  chris Sync with HEAD.
 1.17.16.1  28-Feb-2008  rjs Sync with HEAD.
 1.18.26.1  15-Feb-2014  matt Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.
 1.18.18.3  28-Apr-2009  skrll Sync with HEAD.
 1.18.18.2  03-Mar-2009  skrll Sync with HEAD.
 1.18.18.1  19-Jan-2009  skrll Sync with HEAD.
 1.18.10.2  11-Mar-2010  yamt sync with head
 1.18.10.1  04-May-2009  yamt sync with head.
 1.18.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.20.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.22.16.1  18-Feb-2012  mrg merge to -current.
 1.22.12.2  16-Jan-2013  yamt sync with (a bit old) head
 1.22.12.1  17-Apr-2012  yamt sync with head
 1.23.6.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.23.4.1  28-Nov-2012  matt Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
 1.24.28.1  27-Apr-2017  pgoyette Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita. There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.
 1.24.18.1  20-Jul-2016  pgoyette Adapt the machine/arch dependent code to the new {b,c}devsw reference
counting.

XXX Most of these will require testing by someone other than myself, as
I have a limited selection of hardware!

RSS XML Feed