Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/sys/lib/libsa Pull up revision 1.52 (requested by abs i...



details:   https://anonhg.NetBSD.org/src/rev/5c7f7d868b6b
branches:  netbsd-2-0
changeset: 561050:5c7f7d868b6b
user:      he <he%NetBSD.org@localhost>
date:      Sat May 22 17:13:09 2004 +0000

description:
Pull up revision 1.52 (requested by abs in ticket #369):
  Add qsort to libsa (taken from sys/dev/vinum/vinumqsort.c)
  and use instead of bubblesort in acorn32 bootloader. Reduces
  time to sort memory on A710 equipped RiscPC from over twenty
  seconds to effectively instantaneous.  Update boot version
  to 3.30

diffstat:

 sys/lib/libsa/stand.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 48c3b3830628 -r 5c7f7d868b6b sys/lib/libsa/stand.h
--- a/sys/lib/libsa/stand.h     Sat May 22 17:12:43 2004 +0000
+++ b/sys/lib/libsa/stand.h     Sat May 22 17:13:09 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stand.h,v 1.51 2003/10/30 22:15:28 he Exp $    */
+/*     $NetBSD: stand.h,v 1.51.2.1 2004/05/22 17:13:09 he Exp $        */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -250,6 +250,9 @@
 int    stat(const char *, struct stat *);
 int    fstat(int, struct stat *);
 
+typedef int cmp_t __P((const void *, const void *));
+void   qsort(void *, size_t, size_t, cmp_t * cmp);
+
 extern int opterr, optind, optopt, optreset;
 extern char *optarg;
 int    getopt(int, char * const *, const char *);



Home | Main Index | Thread Index | Old Index