Home | History | Annotate | only in /src/sys/lib/libkern/arch/powerpc
History log of /src/sys/lib/libkern/arch/powerpc
RevisionDateAuthorComments
 1.34 30-May-2022  rin Restrict strictly-aligned versions of memcmp(9), memcpy(9), and
memmove(9) to 403, instead of all evbppc machines.

Introduce strict-align LIBKERN_MD_FLAGS for this purpose.
 1.33 26-Jul-2021  rin Improve previous:

- Add suffix ``d'' for mkdep(1).
- Improve comment a little...
 1.32 24-Jul-2021  rin For evbppc, use C version of memcpy(3), memcmp(3), and memmove(3)
consistently for *.{po,pico,go} (for RUMP), in order to avoid
alignment faults for 403.
 1.31 02-Jul-2011  matt branches: 1.31.70;
Add the _restgpr* and _savegpr* entries that GCC 4.5 wants. This file is
designed to support the other GCC 4.5 variants that may be required.
 1.30 17-Jan-2011  matt Kill _NOREGNAMES. Everything should be using %rX now. If it doesn't it
soon will.
 1.29 16-Jan-2011  matt branches: 1.29.2;
Add -D_NOREGNAMES
 1.28 14-Aug-2009  dsl Move that majority of the 'SRCS+= foo.c' into the main Makefile.libkern.
Any .S files added by the arch/*/Makefile.inc cause the .c file to
be excluded.
Specific exclusions added using NO_SRCS to match previous files.
At least sparc, sparc64, i386, amd64 and vax GENERIC still build.
(There is a fubar with the naming of the byte-swap files ...)
 1.27 12-Aug-2009  dsl Split the lines that add .c to SRCS from those that add .S
No changes (apart from the order) intended.
 1.26 18-Mar-2009  tsutsui - remove bcmp(9), bcopy(9), and bzero(9) from libkern since <sys/systm.h> has
macro which replace them with mem*() functions in #ifdef _KERNEL as noted
in man pages
- move declarations of bcopy(3) and bzero(3) into <lib/libsa/stand.h>
since they are still in libsa for some MD standalone sources
(I guess all bcmp(3) in standalone sources have been replaced with memcmp(3)
but they should be replaced with memcmp() anyway)
 1.25 18-Apr-2008  garbled branches: 1.25.4; 1.25.12; 1.25.18;
Back out the ppc assembler changes for memcpy/memmove/memcmp on evbppc.
It breaks the explora because the cpu (403) cannot deal with unaligned
accesses. Reported by Juergen Hannken-Illjes.
 1.24 11-Dec-2005  christos branches: 1.24.70;
merge ktrace-lwp.
 1.23 10-Aug-2003  matt Add a memset.S (does not use dcbz; to be added later). It does both bzero
and memset.
 1.22 25-Feb-2003  matt branches: 1.22.2;
Switch back to generic bzero/memset until new one is shown to work.
 1.21 24-Feb-2003  matt Actually use bzero.S. Also fix bzero to use GET_CPUINFO
 1.20 24-Feb-2003  matt Don't make memset.c since bzero.o has memset in addition to bzero.
 1.19 02-Dec-2001  mjl Disable bzero/memset assembler implementation until the dependency
problem on assym.h is sorted out and TRW to get at CACHELINESIZE in
the kernel is determined.
 1.18 30-Nov-2001  mjl Add assembler version of strlen.
 1.17 29-Nov-2001  mjl Add assembler versions of ffs, bzero and memset.
 1.16 01-Nov-2000  thorpej branches: 1.16.2; 1.16.4;
Add a strcasecmp(), modified from chopps's strncasecmp().
 1.15 01-Feb-2000  danw add strtoul
 1.14 17-Apr-1999  ws branches: 1.14.2;
Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
 1.13 04-Aug-1998  perry branches: 1.13.8;
remove memcpy.c -- I forgot this gets built anyway
 1.12 04-Aug-1998  perry remove memmove.c -- I forgot this gets built anyway
 1.11 04-Aug-1998  perry add memcmp.c memcpy.c memmove.c
 1.10 22-Feb-1998  mycroft Fix typo.
 1.9 22-Feb-1998  mycroft Don't list bcopy.c here, since we only want memcpy() and not bcopy().
XXX What a kluge!
 1.8 22-Feb-1998  mycroft We need memcpy().
 1.7 22-Feb-1998  mycroft Add some missing things.
 1.6 22-Feb-1998  mycroft Pull in [hn]to[nh][ls].c.
 1.5 21-Jan-1998  cgd add rules like those in libc to build strchr() and strrchr() (the latter
is being added to libkern by this commit). remove strchr.c from
archs' Makefile.inc files to go along with this. (If an arch has
a .S version, it should be copied down and added to the apropriate
Makefile.inc.)
 1.4 24-Oct-1997  chuck add memchr() to libkern
 1.3 09-Oct-1997  bouyer Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
 1.2 18-Jan-1997  cgd branches: 1.2.8;
add strchr() to libkern. strchr.c copied from libc's "index.c", but with
appropriate definitions so that it'll build strchr(), and so that it builds
correctly in libkern (needed to #define NULL).
 1.1 30-Sep-1996  ws PowerPC port
 1.2.8.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.13.8.1 21-Jun-1999  thorpej Sync w/ -current.
 1.14.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.14.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.16.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.16.2.1 08-Jan-2002  nathanw Catch up to -current.
 1.22.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.22.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.22.2.1 03-Aug-2004  skrll Sync with HEAD
 1.24.70.1 02-Jun-2008  mjf Sync with HEAD.
 1.25.18.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.25.12.1 28-Apr-2009  skrll Sync with HEAD.
 1.25.4.2 19-Aug-2009  yamt sync with head.
 1.25.4.1 04-May-2009  yamt sync with head.
 1.29.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.31.70.1 01-Aug-2021  thorpej Sync with HEAD.
 1.6 10-Aug-2003  matt Add a memset.S (does not use dcbz; to be added later). It does both bzero
and memset.
 1.5 24-Feb-2003  matt branches: 1.5.2;
Actually use bzero.S. Also fix bzero to use GET_CPUINFO
 1.4 30-Jul-2002  matt cpu_info is not in spr0, but spr_g_0.
 1.3 13-Mar-2002  eeh branches: 1.3.4;
Updated from libc.
 1.2 30-Nov-2001  mjl branches: 1.2.2; 1.2.4;
Outifdef some stuff not needed in the _KERNEL case.
 1.1 29-Nov-2001  mjl Add assembler versions of ffs, bzero and memset.
 1.2.4.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.4.3 16-Mar-2002  jdolecek Catch up with -current.
 1.2.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.1 30-Nov-2001  thorpej file bzero.S was added on branch kqueue on 2002-01-10 20:00:34 +0000
 1.2.2.4 01-Aug-2002  nathanw Catch up to -current.
 1.2.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 30-Nov-2001  nathanw file bzero.S was added on branch nathanw_sa on 2002-01-08 00:32:51 +0000
 1.3.4.1 29-Aug-2002  gehenna catch up with -current.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.2 20-Dec-2005  christos Use common sources with userland.
 1.1 29-Nov-2001  mjl branches: 1.1.2; 1.1.4; 1.1.36;
Add assembler versions of ffs, bzero and memset.
 1.1.36.1 21-Jun-2006  yamt sync with head.
 1.1.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 29-Nov-2001  thorpej file ffs.S was added on branch kqueue on 2002-01-10 20:00:34 +0000
 1.1.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.2.1 29-Nov-2001  nathanw file ffs.S was added on branch nathanw_sa on 2002-01-08 00:32:51 +0000
 1.4 28-Oct-2011  christos shouldn't need .size for ppc64.
 1.3 12-Aug-2011  matt Fix bug when only restoring r31 (lr was not being restored properly).
 1.2 02-Jul-2011  mrg fix the names of the _END symbols passed to .size; fixes rump issues,
and kernels still work fine, and ofwboot still links.
 1.1 02-Jul-2011  matt Add the _restgpr* and _savegpr* entries that GCC 4.5 wants. This file is
designed to support the other GCC 4.5 variants that may be required.
 1.7 17-Jan-2011  matt Don't define _NOREGNAMES since all of libkern is now compiled with it.
 1.6 04-Mar-2007  christos branches: 1.6.64;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.5 11-Dec-2005  christos branches: 1.5.26;
merge ktrace-lwp.
 1.4 26-Feb-2005  perry branches: 1.4.4;
nuke trailing whitespace
 1.3 04-Dec-2003  keihan branches: 1.3.4; 1.3.10; 1.3.12;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.2 27-Aug-2003  matt Actually the right instruction to fill a half-word.
From Juergen Hannken-Illjes hannken at eis dot cs dot tu-bs dot de
 1.1 10-Aug-2003  matt Add a memset.S (does not use dcbz; to be added later). It does both bzero
and memset.
 1.3.12.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.3.10.1 29-Apr-2005  kent sync with -current
 1.3.4.5 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.3.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.3.4.2 03-Aug-2004  skrll Sync with HEAD
 1.3.4.1 04-Dec-2003  skrll file memset.S was added on branch ktrace-lwp on 2004-08-03 10:53:49 +0000
 1.4.4.1 03-Sep-2007  yamt sync with head.
 1.5.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.6.64.1 05-Mar-2011  rmind sync with head
 1.5 20-Dec-2005  christos Use common sources with userland.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 26-Feb-2005  perry branches: 1.3.4;
nuke trailing whitespace
 1.2 04-Dec-2003  keihan branches: 1.2.8; 1.2.10;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.1 30-Nov-2001  mjl branches: 1.1.2; 1.1.4; 1.1.20;
Add assembler version of strlen.
 1.1.20.4 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 30-Nov-2001  thorpej file strlen.S was added on branch kqueue on 2002-01-10 20:00:35 +0000
 1.1.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.2.1 30-Nov-2001  nathanw file strlen.S was added on branch nathanw_sa on 2002-01-08 00:32:52 +0000
 1.2.10.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.2.8.1 29-Apr-2005  kent sync with -current
 1.3.4.1 21-Jun-2006  yamt sync with head.
 1.14 18-Mar-2008  he When compiling for _STANDALONE, omit a bunch of headers which aren't really
needed and which trigger build problems.

(These two files should probably be unified and put under common/...)
 1.13 24-Dec-2005  perry branches: 1.13.46; 1.13.66; 1.13.70;
__asm__ -> __asm
 1.12 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.11 11-Dec-2005  christos merge ktrace-lwp.
 1.10 27-Jul-2005  simonb KNF nit.
 1.9 26-Feb-2005  perry branches: 1.9.4;
nuke trailing whitespace
 1.8 28-Mar-2002  matt branches: 1.8.10; 1.8.18; 1.8.20;
Refresh from libc.
 1.7 26-Mar-2002  matt Use size_t in prototype (so this will be LP64 clean for PPC64 someday).
Calculate len separately for icache & dcache in case each has different
cacheline widths. Make the code for both loops the same except for the
dcbst/icbi. Deal with sizes >=2GB properly (like that'll happen but ...)
 1.6 18-Mar-2002  dbj make compile with _STANDALONE
 1.5 13-Mar-2002  eeh Updated from libc.
 1.4 22-Aug-2001  matt 7450 requires a sync before the the isync (MPC7450UM - 3.4.4.8)
 1.3 27-Jun-2000  mrg branches: 1.3.2; 1.3.4;
<vm/vm.h> -> <uvm/uvm_extern.h>
 1.2 05-May-1999  tsubai branches: 1.2.2; 1.2.4;
Copy from libc.
 1.1 17-Apr-1999  ws Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
 1.2.4.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.2.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.3.4.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.4.2 16-Mar-2002  jdolecek Catch up with -current.
 1.3.4.1 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.3.2.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.2.1 21-Sep-2001  nathanw Catch up to -current.
 1.8.20.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.8.18.1 29-Apr-2005  kent sync with -current
 1.8.10.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.10.1 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.9.4.2 24-Mar-2008  yamt sync with head.
 1.9.4.1 21-Jun-2006  yamt sync with head.
 1.13.70.1 03-Apr-2008  mjf Sync with HEAD.
 1.13.66.1 24-Mar-2008  keiichi sync with head.
 1.13.46.1 23-Mar-2008  matt sync with HEAD

RSS XML Feed