Commit Graph

49749 Commits

Author SHA1 Message Date
thorpej 45e02f5ee8 Split tcp_timers() into multiple functions, one for each timer,
and call it directly from tcp_slowtimo() (via a table) rather
than going through tcp_userreq().

This will allow us to call TCP timers directly from callouts,
in a future revision.
2001-09-10 20:15:14 +00:00
eeh 574892a487 Get rid of spurious OF_getprop(). 2001-09-10 16:27:53 +00:00
eeh 9d636228e1 Sun Blade 100 support (and some psycho fixes from Jason Wright). 2001-09-10 16:17:06 +00:00
pooka 58bcf84390 Add bs_notimpl_bs_mmap into the bus space struct to make this cope with
the recent ARM bus_space_mmap() change and hence make this compile.
2001-09-10 15:47:38 +00:00
rafal 39c82fe985 Use the newly committed imcreg.h to get rid of the magic numbers polluting
this file; while I'm here, rework the GIO arbitrator parameter setup to
match more closely what is done by lunix on the same hardware... Finally,
on a tip from Wilbern Cobb, preserve the graphics-related bits of the
GIO arbitrator parameter register from the PROM-initialized settings so
ARCS console on the graphics display works (tested on both my Indy with
Newport and my Indigo2 with XL gfx).
2001-09-10 15:36:19 +00:00
thorpej 7446fd2bc8 Change the way receive idle time and round trip time are measured.
Instead of incrementing t_idle and t_rtt in tcp_slowtimo(), we now
take a timstamp (via tcp_now) and use subtraction to compute the
delta when we actually need it (using unsigned arithmetic so that
tcp_now wrapping is handled correctly).

Based on similar changes in FreeBSD.
2001-09-10 15:23:09 +00:00
eeh 7c233db184 Regen. 2001-09-10 15:09:48 +00:00
eeh 16d8807932 Add Sun GEM gigabit network card. 2001-09-10 15:07:50 +00:00
eeh e29b0dab62 Change some debug printfs to make gcc happy. 2001-09-10 14:56:33 +00:00
rafal efa747227e Register defines for the SGI MC memory controller. Not 100% complete, but
has enough register/bit definitions to get rid of all the magic numbers that
currently pollute imc.c
2001-09-10 14:13:31 +00:00
fvdl 377864623b Fix reversed if condition in agp_i810_vgamatch. 2001-09-10 12:51:42 +00:00
fvdl 8e76d96c85 wrap decl in #if NAGP > 0 2001-09-10 10:54:46 +00:00
fvdl 5f5910616d Oops, didn't mean to enable agp by default yet. 2001-09-10 10:19:12 +00:00
fvdl 927ade4753 Add agp* at pchb? 2001-09-10 10:18:37 +00:00
fvdl 5b6f2046cc Add MTRR option. 2001-09-10 10:17:29 +00:00
fvdl 30bd1cf759 Clean up 'volatile' MTRRs owned by a process when it exits. 2001-09-10 10:14:57 +00:00
fvdl 5b0257ed49 Backend for MTRRs on PII and up or Athlon CPUs. The only other implementation
is on the AMD K6.
2001-09-10 10:14:21 +00:00
fvdl 86b144f468 Syscall frontend for mtrr functions. 2001-09-10 10:13:04 +00:00
fvdl 38db8748a4 Initialize MTRRs on startup if they're enabled. 2001-09-10 10:12:16 +00:00
fvdl 78742dd0e0 Add flag to indicate that a process set some mtrrs that need to be
cleaned up automatically on exit.
2001-09-10 10:11:21 +00:00
fvdl c823d05ca0 Add definitions for mtrr syscalls. 2001-09-10 10:10:57 +00:00
fvdl e0a68652a8 MTRR include file, based on the one by Bill Sommerfeld from the i386 mp
branch.
2001-09-10 10:10:33 +00:00
fvdl f21020c1e6 Add M_AGP type. 2001-09-10 10:09:36 +00:00
fvdl 639a4315f4 Add extra initializer macro. 2001-09-10 10:09:13 +00:00
fvdl a46fbfc5a8 Add agp device. 2001-09-10 10:08:40 +00:00
fvdl d106bb1f19 Add agp files (enabled only on i386, but the main code itself should not
be MD, so could be enabled on other platforms).
2001-09-10 10:08:10 +00:00
fvdl 2c8172cbd3 Attach agp gart support @ pchb. Not very clean, but agp support may
be spread over several devices, and the phcb is usually the main one.

Add agp_machdep.c file which implements MD agp functions (currently
just agp_flush_cache).
2001-09-10 10:06:54 +00:00
fvdl ac50343c76 Add a pci_find_device function, to find a PCI device using a match
function on all (probed) PCI buses:

int     pci_find_device(struct pci_attach_args *pa,
                        int (*match)(struct pci_attach_args *));

The pci_attach_args structure pointed to by pa is filled in if the
device is found, and 1 is returned. Otherwise 0 is returned.

This function is, unfortunately, needed by the i810 agp code. It's
also of use for LKMs.

Also frob pci_probe_bus to take 2 extra args when used by pci_find_device.
2001-09-10 10:04:49 +00:00
fvdl a3130cfbe2 AGP GART support code. Originally written by Doug Rabson for FreeBSD,
modifications to fit it into the NetBSD device/config structure and
to use bus_dma by me.
2001-09-10 10:01:00 +00:00
msaitoh 78db8b9715 add missing check for framing error 2001-09-10 08:50:33 +00:00
drochner 4aaab20b38 remove all traces when a font is removed 2001-09-10 07:29:54 +00:00
itojun 1c48caeb1e fix IPv4 fragment handling in the classifier.
report and fix by "Paul Koster" <list@kosteronline.net>
sync with kame
2001-09-10 06:34:57 +00:00
perry edea1a2c17 Make it possible to query each battery individually by making the
APM_IOC_GETPOWER ioctl read/write. Setting the batteryid in the passed
structure returns the data for just that battery. The old ioctl
remains for binary compatibility but has been renamed.

Itojun already did the hard work -- I just added a couple of lines.

reviewed by: thorpej
2001-09-10 05:23:30 +00:00
thorpej 7a89a34393 Enable Congestion Window Monitoring by default. 2001-09-10 04:43:35 +00:00
thorpej 783db90019 Use a callout for the delayed ACK timer, and delete tcp_fasttimo().
Expose the delayed ACK timer as net.inet.tcp.delack_ticks.
2001-09-10 04:24:24 +00:00
itojun 080d73b4a3 minor style 2001-09-10 03:08:18 +00:00
reinoud a425cc29ac Make it compile again if for some configuration there are no FIQ's ... It
complained about the unused label.
2001-09-10 02:21:42 +00:00
reinoud 7bace466ad Initial commitment of the bus_space_mmap() functions as proposed by Jason R
Thorpe as an extension to the bus_space(9) API.

Only the mainbus has a working mmap... iomd, podulebus and isa dont have
one yet. Its trivial to add the iomd and isa's memory part but am a bit
hessistant to add it without knowing its implications by heart.

Podulebus might be implemented in 32 bits EASI but otherwise its not really
transparent since there is AFAIK no function to explicitly read one byte or
so .. or is this implemented in a higher level ?

ARM26 and arch/arm32/dnard (Shark) kernels compile and RiscPC and Shark
kernels are tested and function OK.

Implications of other ARM systems like hpcarm and ebarm are propably
minimal or solved trivially.
2001-09-10 02:20:19 +00:00
matt 97c7e7fe8d Always include -Wno-main 2001-09-09 22:53:02 +00:00
chs 7d353e82b0 - in PMAP_IS_ACTIVE(), the kernel pmap is always active, and we don't
need to check for curproc being non-NULL since none of the pmap
   interfaces which are legal to use in interrupt handlers use this macro.
 - use the hit op when flushing the cache in pmap_kremove().
 - avoid trusting the optimizer in pmap_clear_reference().
 - fix pmap_clear_modify() to reset the mod-bit emulation so we can
   detect further modifications to the page, also flushing the cache
   for any mappings which might have dirty lines.
2001-09-09 19:48:12 +00:00
chs 2133049a7c create a new pool for map entries, allocated from kmem_map instead of
kernel_map.  use this instead of the static map entries when allocating
map entries for kernel_map.  this greatly reduces the number of static
map entries used and should eliminate the problems with running out.
2001-09-09 19:38:22 +00:00
perry fe9074d8dc boost maximum MAXUSERS to 128 2001-09-09 18:36:36 +00:00
assar 41f102fe0e install miscfs/syncfs/syncfs.h 2001-09-09 17:42:46 +00:00
bouyer a4638cc6d5 Properly initiatize sc->sc_wdcdev.set_modes for non-DMA controllers. 2001-09-09 16:08:49 +00:00
taca 9b6c5002eb Add including <stdio.h> for compiling in user land.
This should fix compile error (really warning) in src/regress/sys/crypto/des.
2001-09-09 15:52:57 +00:00
reinoud 180a40eb5b A long int for kernel sizes is a bit overdone for an arm32 ... make it
compile again by changing the format string to use ints.
2001-09-09 15:15:14 +00:00
tls 6b3afc53e0 Add asm versions of blowfish and des transforms for i386.
This also involved updating the in-kernel DES functions to correspond
to the versions in our in-tree OpenSSL, because the des_SPtrans table
has changed; the asm code will not work with the old permutation table!

C and i386 asm code for the DES, 3DES, and Blowfish CBC modes is also
included; it is not currently built as the ESP processing in esp_core.c
splits the CBC operation and the cipher transform apart.  Hopefully that
will be fixed as there is a substantial performance improvement to be had
from doing so.  It will remain necessary to use the C version of the
Blowfish CBC function on some i386 machines, however, as the asm version
uses bswapl, which ony 486 and later processors have.  The DES CBC code
doesn't have this problem.

Finally, change esp_core.c to use the ecb3_encrypt function instead of
calling ecb_encrypt three times; this improves performance a bit, in
particular in the asm case.
2001-09-09 11:03:59 +00:00
tls 3d4146e21f Add asm versions of blowfish and des transforms for i386.
This also involved updating the in-kernel DES functions to correspond
to the versions in our in-tree OpenSSL, because the des_SPtrans table
has changed; the asm code will not work with the old permutation table!

C and i386 asm code for the DES, 3DES, and Blowfish CBC modes is also
included; it is not currently built as the ESP processing in esp_core.c
splits the CBC operation and the cipher transform apart.  Hopefully that
will be fixed as there is a substantial performance improvement to be had
from doing so.  It will remain necessary to use the C version of the
Blowfish CBC function on some i386 machines, however, as the asm version
uses bswapl, which ony 486 and later processors have.  The DES CBC code
doesn't have this problem.

Finally, change esp_core.c to use the ecb3_encrypt function instead of
calling ecb_encrypt three times; this improves performance a bit, in
particular in the asm case.
2001-09-09 11:00:59 +00:00
toshii 7c9e82d6e3 Don't define pcb_* register macros.
pcb_sp macro conflicts with sys/netinet6/ipsec.c.
2001-09-09 10:33:42 +00:00
toshii 9665c1bcc3 Use arm/arm32/vm_machdep.c instead of hpcarm one. 2001-09-09 09:59:24 +00:00
toshii b45ffd445a Readd sacom to cdevsw. 2001-09-09 09:54:13 +00:00
toshii 17e80273eb #include "sacom.h" for constab[]. 2001-09-09 08:07:36 +00:00
matt 8402e4d93f Fix a missing restore interrupt. disable interrupts around pvo_enter in
pmap_kenter.  Shouldn't be needed but ...
2001-09-09 04:35:22 +00:00
simonb a41b7a380e Clean up and standardise across MIPS ports. 2001-09-09 04:20:25 +00:00
enami d182b51372 Don't print extra space when printing information about cpu of unknown vendor.
# and minor stylistic change while i'm here.
2001-09-09 02:10:44 +00:00
enami ba91e134c8 Fix sample code in comment; pci_conf_print() takes three arguments. 2001-09-09 01:45:29 +00:00
enami bab65a8da3 Mix random data directly into the pool and increase entropy instead of
estimating entropy with polling based timing.
2001-09-09 00:48:54 +00:00
enami a1eef7d6a4 Cosmetic changes. 2001-09-09 00:32:52 +00:00
thomas 35ad82f0df Make the bootloader ELF aware.
It can load either a.out or ELF, depending on compile options.
2001-09-08 16:57:09 +00:00
christos fdad5eb59c Don't trash the ref count of cred. It causes a memory leak. 2001-09-08 15:34:06 +00:00
fvdl 2c344fe7d9 Allow the old-style sockaddr_in6 for v6 addresses for which the
scope id is irrelevant. Makes netscape6 for Linux work again,
which uses v4-mapped addresses to connect to v4 sites.
2001-09-08 14:19:09 +00:00
chuck 1c06d68731 only include opt_compat_43.h if _KERNEL_OPT defined so lkm compiles 2001-09-08 13:23:09 +00:00
chuck b8a7c35e58 vax1k_subr.c is gone 2001-09-08 13:19:50 +00:00
thomas b2990af499 ELF adaption. 2001-09-08 11:21:02 +00:00
thomas f433d91346 Now the default ecexutable is ELF.
Add COMPAT_AOUT_M68K to GENERIC options.
2001-09-08 11:19:06 +00:00
thomas d059704139 ELF adaption, clockframe must be packed. 2001-09-08 11:16:43 +00:00
thomas e97e2309f0 ELF abaption. 2001-09-08 11:15:35 +00:00
thomas eb5341b79a Some ELF adaption. 2001-09-08 11:14:33 +00:00
manu 421be662fc Forgotten file in my last commit for removing PowerPC mmap hack in Linux
emulation
2001-09-08 07:13:04 +00:00
manu 6bbacb9d3f Removed a hack to make PowerPC mmap work. This could have side effects on
alpha and i386. It has been tested and works on i386.
2001-09-08 07:09:43 +00:00
wiz 08d1db8111 Fix typo in variable name. 2001-09-08 02:35:25 +00:00
christos f556e46298 Hijack the credentials used to evaluate access, to avoid a potential lwp
race by modifying the proc's credentials temporarily. From Bill Sommerfeld.
Thanks for forcing me to do this right :-)
2001-09-08 02:05:39 +00:00
christos 51d673156c Set the credentials to be used in the NDINIT macro so that syscalls can
hijack them.
2001-09-08 02:02:04 +00:00
rafal ece8acc29b Make the ARCS console work again, by initializing the dev_t on arcbios init
rather than in the open entry point (where it's too late for cnopen).  Being
checked in from my Indy using the ARCS console on the graphics display.
2001-09-08 01:39:11 +00:00
thomas f34c1c216e Return a useful exit status. 2001-09-07 23:09:36 +00:00
drochner e6a8d37fdd concentrate screen initialization into vga_init_screen() where it belongs 2001-09-07 17:10:13 +00:00
sato 9545f31823 initial support of vr4131 bcu. 2001-09-07 16:06:03 +00:00
sato a18f21f23e VR4131 have same restriction as VR4122. 2001-09-07 16:04:03 +00:00
sato 5e44e9de0e add VR4131 releated definisions and change. 2001-09-07 16:02:56 +00:00
mrg 18b82a6732 make this "MI"; nothing different between this and the SPARC version. 2001-09-07 15:50:49 +00:00
haya c14e80bd30 Bugfix: re-order buffers when they are released. 2001-09-07 11:04:35 +00:00
tsutsui 66187ea9e9 Fix function names in panic messages. 2001-09-07 10:35:59 +00:00
itojun bc9095e4c7 make CMSG_FIRSTHDR() validat emsg_controllen, as suggested in RFC2292.
from kame
2001-09-07 08:13:01 +00:00
lukem 53156d96d0 let user know current value of MAX_KMAPENT in panic 2001-09-07 00:50:54 +00:00
lukem cb33448ead use options SPACE TAB 2001-09-07 00:18:27 +00:00
thorpej b42556773f Driver for the Dreamcast mouse, based on the programming info
on Marcus's web site.

Not yet thoroughly tested, but does appear to generate events
that look okay.
2001-09-06 22:07:39 +00:00
fredette 2468247eff In _bus_dmamap_load, now check the return value of pmap_extract
under DIAGNOSTIC, and fixed a bug where we weren't putting the
right size into a newly valid map.
2001-09-06 21:38:40 +00:00
fredette 7aaa6a4bc4 On the 68010, don't bother with the by-8-longwords loop, instead
only 16-bit align the region and use loop mode with longwords
to do the bulk of the work.

On the 68020+, fixed an optimization bug where all regions that start
on odd addresses would not be properly longword aligned.
2001-09-06 21:30:15 +00:00
nathanw 78d8966e59 Remove the infamous "DANGER WILL ROBINSON: FEN SET in cpu_fork!"
diagnostic. It's not indicative of an error condition.

The code sequence in question calls fpusave_proc(), which ultimately
calls alpha_pal_wrfen(0), which clears the FEN bit in the current
PCB. However, the diagnostic message is based on reading that bit from
the PCB representation in memory, which is not guaranteed to be kept
up-to-date with respect to the real PCB contents. According to the
AARM, third edition, II-B 4.2:

"If the PCB is read while ownership resides with the processor, it is
UNPREDICTABLE whether the original or an updated value of a field is
read."

The Alpha architecture does not provide a way to read the true value
of the FEN bit of the current PCB, so the test is simply removed.
2001-09-06 21:20:43 +00:00
thorpej 2d2a66209d Indent. 2001-09-06 20:04:49 +00:00
fredette b1b29ae867 Added -D__SVR4_ABI__ to XDEFS. Without it, m68k libkern assembly
functions don't return pointer values in %a0.
2001-09-06 20:04:16 +00:00
augustss 283601a95c Comment out tr at pcmcia. 2001-09-06 13:29:29 +00:00
augustss 0ef77d096d Regen. 2001-09-06 11:45:55 +00:00
augustss 7eed4a548d Add a Todos smartcard reader. 2001-09-06 11:45:33 +00:00
leo 558c39f10c Changes for Chuck Silvers:
implement pmap_k{enter_pa,remove}() correctly.
  remove various checks for impossible conditions.
  other misc cleanup.
2001-09-06 06:27:54 +00:00
leo 975c7a2466 Make this finally compile again. It hasn't worked since the C_LABEL() got in. 2001-09-06 06:24:17 +00:00
thorpej b6783070d6 Don't require tp->t_dev to be filled in in cold_sccparam(). 2001-09-06 06:18:40 +00:00
thorpej 6203b547a5 Garbage-collect all the (outdated and totally useless) pmax stuff
in this code.
2001-09-06 05:31:49 +00:00
lukem 5c2ee5861d Incorporate the enhanced ffs_dirpref() by Grigoriy Orlov, as found in
FreeBSD (three commits; the initial work, man page updates, and a fix
to ffs_reload()), with the following differences:
- Be consistent between newfs(8) and tunefs(8) as to the options which
  set and control the tuning parameters for this work (avgfilesize & avgfpdir)
- Use u_int16_t instead of u_int8_t to keep track of the number of
  contiguous directories (suggested by Chuck Silvers)
- Work within our FFS_EI framework
- Ensure that fs->fs_maxclusters and fs->fs_contigdirs don't point to
  the same area of memory

The new algorithm has a marked performance increase, especially when
performing tasks such as untarring pkgsrc.tar.gz, etc.

The original FreeBSD commit messages are attached:

=====
mckusick    2001/04/10 01:39:00 PDT
  Directory layout preference improvements from Grigoriy Orlov <gluk@ptci.ru>.
  His description of the problem and solution follow. My own tests show
  speedups on typical filesystem intensive workloads of 5% to 12% which
  is very impressive considering the small amount of code change involved.

  ------

    One day I noticed that some file operations run much faster on
  small file systems then on big ones. I've looked at the ffs
  algorithms, thought about them, and redesigned the dirpref algorithm.

    First I want to describe the results of my tests. These results are old
  and I have improved the algorithm after these tests were done. Nevertheless
  they show how big the perfomance speedup may be. I have done two file/directory
  intensive tests on a two OpenBSD systems with old and new dirpref algorithm.
  The first test is "tar -xzf ports.tar.gz", the second is "rm -rf ports".
  The ports.tar.gz file is the ports collection from the OpenBSD 2.8 release.
  It contains 6596 directories and 13868 files. The test systems are:

  1. Celeron-450, 128Mb, two IDE drives, the system at wd0, file system for
     test is at wd1. Size of test file system is 8 Gb, number of cg=991,
     size of cg is 8m, block size = 8k, fragment size = 1k OpenBSD-current
     from Dec 2000 with BUFCACHEPERCENT=35

  2. PIII-600, 128Mb, two IBM DTLA-307045 IDE drives at i815e, the system
     at wd0, file system for test is at wd1. Size of test file system is 40 Gb,
     number of cg=5324, size of cg is 8m, block size = 8k, fragment size = 1k
     OpenBSD-current from Dec 2000 with BUFCACHEPERCENT=50

  You can get more info about the test systems and methods at:
  http://www.ptci.ru/gluk/dirpref/old/dirpref.html

                                Test Results

               tar -xzf ports.tar.gz               rm -rf ports
    mode  old dirpref new dirpref speedup old dirprefnew dirpref speedup
                               First system
   normal     667         472      1.41       477        331       1.44
   async      285         144      1.98       130         14       9.29
   sync       768         616      1.25       477        334       1.43
   softdep    413         252      1.64       241         38       6.34
                               Second system
   normal     329         81       4.06       263.5       93.5     2.81
   async      302         25.7    11.75       112          2.26   49.56
   sync       281         57.0     4.93       263         90.5     2.9
   softdep    341         40.6     8.4        284          4.76   59.66

  "old dirpref" and "new dirpref" columns give a test time in seconds.
  speedup - speed increasement in times, ie. old dirpref / new dirpref.

  ------

  Algorithm description

  The old dirpref algorithm is described in comments:

  /*
   * Find a cylinder to place a directory.
   *
   * The policy implemented by this algorithm is to select from
   * among those cylinder groups with above the average number of
   * free inodes, the one with the smallest number of directories.
   */

  A new directory is allocated in a different cylinder groups than its
  parent directory resulting in a directory tree that is spreaded across
  all the cylinder groups. This spreading out results in a non-optimal
  access to the directories and files. When we have a small filesystem
  it is not a problem but when the filesystem is big then perfomance
  degradation becomes very apparent.

  What I mean by a big file system ?

    1. A big filesystem is a filesystem which occupy 20-30 or more percent
       of total drive space, i.e. first and last cylinder are physically
       located relatively far from each other.
    2. It has a relatively large number of cylinder groups, for example
       more cylinder groups than 50% of the buffers in the buffer cache.

  The first results in long access times, while the second results in
  many buffers being used by metadata operations. Such operations use
  cylinder group blocks and on-disk inode blocks. The cylinder group
  block (fs->fs_cblkno) contains struct cg, inode and block bit maps.
  It is 2k in size for the default filesystem parameters. If new and
  parent directories are located in different cylinder groups then the
  system performs more input/output operations and uses more buffers.
  On filesystems with many cylinder groups, lots of cache buffers are
  used for metadata operations.

  My solution for this problem is very simple. I allocate many directories
  in one cylinder group. I also do some things, so that the new allocation
  method does not cause excessive fragmentation and all directory inodes
  will not be located at a location far from its file's inodes and data.
  The algorithm is:
  /*
   * Find a cylinder group to place a directory.
   *
   * The policy implemented by this algorithm is to allocate a
   * directory inode in the same cylinder group as its parent
   * directory, but also to reserve space for its files inodes
   * and data. Restrict the number of directories which may be
   * allocated one after another in the same cylinder group
   * without intervening allocation of files.
   *
   * If we allocate a first level directory then force allocation
   * in another cylinder group.
   */

    My early versions of dirpref give me a good results for a wide range of
  file operations and different filesystem capacities except one case:
  those applications that create their entire directory structure first
  and only later fill this structure with files.

    My solution for such and similar cases is to limit a number of
  directories which may be created one after another in the same cylinder
  group without intervening file creations. For this purpose, I allocate
  an array of counters at mount time. This array is linked to the superblock
  fs->fs_contigdirs[cg]. Each time a directory is created the counter
  increases and each time a file is created the counter decreases. A 60Gb
  filesystem with 8mb/cg requires 10kb of memory for the counters array.

    The maxcontigdirs is a maximum number of directories which may be created
  without an intervening file creation. I found in my tests that the best
  performance occurs when I restrict the number of directories in one cylinder
  group such that all its files may be located in the same cylinder group.
  There may be some deterioration in performance if all the file inodes
  are in the same cylinder group as its containing directory, but their
  data partially resides in a different cylinder group. The maxcontigdirs
  value is calculated to try to prevent this condition. Since there is
  no way to know how many files and directories will be allocated later
  I added two optimization parameters in superblock/tunefs. They are:

          int32_t  fs_avgfilesize;   /* expected average file size */
          int32_t  fs_avgfpdir;      /* expected # of files per directory */

  These parameters have reasonable defaults but may be tweeked for special
  uses of a filesystem. They are only necessary in rare cases like better
  tuning a filesystem being used to store a squid cache.

  I have been using this algorithm for about 3 months. I have done
  a lot of testing on filesystems with different capacities, average
  filesize, average number of files per directory, and so on. I think
  this algorithm has no negative impact on filesystem perfomance. It
  works better than the default one in all cases. The new dirpref
  will greatly improve untarring/removing/coping of big directories,
  decrease load on cvs servers and much more. The new dirpref doesn't
  speedup a compilation process, but also doesn't slow it down.

  Obtained from:	Grigoriy Orlov <gluk@ptci.ru>
=====

=====
iedowse     2001/04/23 17:37:17 PDT
  Pre-dirpref versions of fsck may zero out the new superblock fields
  fs_contigdirs, fs_avgfilesize and fs_avgfpdir. This could cause
  panics if these fields were zeroed while a filesystem was mounted
  read-only, and then remounted read-write.

  Add code to ffs_reload() which copies the fs_contigdirs pointer
  from the previous superblock, and reinitialises fs_avgf* if necessary.

  Reviewed by:	mckusick
=====

=====
nik         2001/04/10 03:36:44 PDT
  Add information about the new options to newfs and tunefs which set the
  expected average file size and number of files per directory.  Could do
  with some fleshing out.
=====
2001-09-06 02:16:00 +00:00
thorpej 8b59971a0d Don't compare bp->b_dev against RAW_PART; use the `part' local variable
instead.
2001-09-06 00:47:56 +00:00
mjacob 7492be3d51 Fix a misspelled error message.
Temp work around problems where if we allow for non-polled mailbox commands
we got nailed by hardclock calling is for a timed thaw. Basically, this
means we only enable non-polled mailbox commands in the FC kthread when it
calls isp_fc_runstate.
2001-09-05 23:08:23 +00:00
mjacob b33b6111a5 Clean up some issues wrt loaded f/w vs. resident f/w. We can tell
attributes of some variants of FC f/w (SCCLUN or not). Fake f/w
rev for SBus cards- the f/w versions we're using don't return
version in outgoing mailbox registers like they should.
2001-09-05 23:05:20 +00:00
mjacob 9e2fd2fee9 Synchronize with FreeBSD/Linux. 2001-09-05 22:32:38 +00:00
nathanw 2b5671fb41 The return address register ($ra) is callee-saved, not caller-saved. 2001-09-05 20:12:53 +00:00
thomas 42f770df19 Make the bootblocks build with ELF assembler. 2001-09-05 19:48:12 +00:00
matt ff5f5ea027 Don't compile SPL/INTR stuff if NEWINTR is defined. 2001-09-05 17:08:41 +00:00
matt 779b9b4649 Fix some register definitions. 2001-09-05 17:05:36 +00:00
matt 2df33a5b6b Add a NEWINTR option to reflect the new interrupt/spl being implemented in
evbarm.
2001-09-05 17:00:20 +00:00
pooka c89755275a * make this match the Psion Goldcard
* teach it to read the MAC addr from the correct place (from OpenBSD)
* change order of intr_dis/establish() and function_en/disable() to
  avoid panics on this multifunction card due to the CCR window
  not being mapped in intr_dis/establish()
2001-09-05 16:40:06 +00:00
matt 0b5b9ca90e Change <machine/irqhandler.h> to <machine/intr.h>. Change
{irq,fiq}handler_t to struct XXXhandler
2001-09-05 16:23:10 +00:00
matt 792b7ebd13 Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
includes the former and is a standard include file.
2001-09-05 16:17:35 +00:00
matt c9fd88afcf Don't clean the minidata cache by default on XScale. 2001-09-05 16:14:49 +00:00
matt 4370f884b2 Flesh XSCALE support. 2001-09-05 16:13:18 +00:00
matt 78944c67e3 Add an obio bus. 2001-09-05 16:12:36 +00:00
sato 3198fedb64 add VR4131 infomation. 2001-09-05 16:08:46 +00:00
sato 4891a8aac2 add more battery event. 2001-09-05 15:46:52 +00:00
sato e085d9eae5 add option VR4131 2001-09-05 15:46:10 +00:00
tsutsui 38c6005c47 obio_find_mapping() takes PA. (missed in the previous commit) 2001-09-05 14:26:08 +00:00
tsutsui 1abb4c9be6 bcopy() -> memcpy(), bzero() -> memset() 2001-09-05 14:18:10 +00:00
tsutsui fa5d9f83c2 bcopy() -> memcpy(), bzero() -> memset() 2001-09-05 14:03:48 +00:00
tsutsui 714fc1c519 - bcopy() -> memcpy(), strcpy()
- bcmp() -> (static inline) ether_cmp()
- 6 -> ETHER_ADDR_LEN
2001-09-05 13:55:27 +00:00
drochner fda9e2aea5 regen 2001-09-05 13:47:59 +00:00
drochner 2fb05724bd we (research center Juelich) are a PCISIG member now - add the vendor ID
and some products
2001-09-05 13:46:51 +00:00
tsutsui 0427bd63a4 Remove register prefixes. 2001-09-05 13:35:30 +00:00
tsutsui fb91456ba6 vm_offset_t -> vaddr_t 2001-09-05 13:31:36 +00:00
tsutsui a02361c8d9 vm_offset_t -> db_addr_t 2001-09-05 13:30:24 +00:00
tsutsui eabd6921ca Remove register prefixes. 2001-09-05 13:27:53 +00:00
tsutsui 7fabaaf7e8 - vm_offset_t -> vaddr_t, vsize_t, paddr_t
- vm_size_t -> vsize_t
- remove register prefixes
- misc cleanup
2001-09-05 13:21:09 +00:00
tsutsui 573961b5bb - vm_offset_t -> [pv]addr_t
- vm_size_t -> vsize_t
- remove register prefixes
2001-09-05 12:37:25 +00:00
tsutsui 0637b20a58 vm_offset_t -> [pv]addr_t (sync with sun3x/pmap.c rev 1.69) 2001-09-05 12:15:21 +00:00
tsutsui 6d1cb2df8e Add pcn(4), sip(4) and tlp(4).
XXX epic(4) seems to have problem, while it works on macppc...
2001-09-05 11:54:43 +00:00
matt 1bf6aa62be more evbarm files (very incomplete). 2001-09-05 04:53:39 +00:00
wiz b2365a9603 Typo fix (specifc instead of specific). 2001-09-04 21:46:11 +00:00
wiz b940fa8a83 Fix typos (CONS instead of CONF, and specifc instead of specific). 2001-09-04 21:45:19 +00:00
thorpej bf1843f270 Regen; added Intel IXP1200 Network Processor. 2001-09-04 21:06:07 +00:00
thorpej 0234925705 Add product ID for the Intel IXP1200 Network Processor. 2001-09-04 20:51:44 +00:00
martin 308d03266a Make this interface cloning. 2001-09-04 20:41:32 +00:00
jdolecek a065626465 change LINUX_F_SETFL so that SIGIO handling for sockets
matches more closely
add support for NEW_PIPE to the SIGIO hack
2001-09-04 20:27:29 +00:00
drochner f2d93c6685 add encoding for ISO-2 2001-09-04 17:57:16 +00:00
drochner 03d3e7a8b4 -update a comment wrt the "active screen" flag
-apply the patch from PR kern/13117 (Onno van der Linden) to make the
 hardware cursor disappear more thoroughly
-deal with PR kern/13573: hardware cursor too big, but differently:
 we have to obey the font size actually used. At this point, fix the
 problem that the cursor got messed up by the initialization of
 unrelated screens.
2001-09-04 17:14:49 +00:00
drochner f2fabb4c48 simplify the way the "active screen" is kept track of a bit 2001-09-04 17:06:54 +00:00
thorpej 81bcece4d4 Implement bus_space_mmap(). 2001-09-04 16:32:42 +00:00
thorpej 4ce0b90ae3 Typos, pointed out by Luke Mewburn (gee, I guess I built a kernel
other than GENERIC).
2001-09-04 16:14:49 +00:00
pooka ffb40898f7 regen.. again.. *sigh* 2001-09-04 15:37:30 +00:00
pooka 4fb856e4eb add Allegro-1 ID
also from Jared D. McNeill
2001-09-04 15:37:00 +00:00
drochner 6d3056d1a3 -fix a debug message
-unref font(s) if a screen is deleted, so they could be unloaded
 if dev/wsfont supported it
-add missing pieces to support screen types with font sizes != 8x16
 as system console - now
options VGA_CONSOLE_SCREENTYPE="\"80x50\""
options FONT_VT220L8x8
 gives you what you'd expect
2001-09-04 15:32:22 +00:00
pooka 98f97b89ce regen 2001-09-04 15:24:59 +00:00
pooka c68e12b73b add another device ID for the ESS Maestro3
from Jared D. McNeill
2001-09-04 15:24:35 +00:00
matt c9706a6175 include "fcom.h" since this is the only cats-specific device. 2001-09-04 14:47:05 +00:00
itohy 95411a84f0 Add "opl at cmpci" and "mpu at cmpci" attachment. 2001-09-04 13:37:29 +00:00
itohy 6bdd186c4e - Add opl at cmpci attachment.
- Add mpu at cmpci attachment.
- Fix panic during attach on alpha.
- Change register of SPDIF input phase (but undocumented, either).
- Change code for mixer initialization.
- Return 1, not 0, when an interrupt is processed.

More changes to the mixer are pending....
2001-09-04 13:36:07 +00:00
itohy 5934ac98b2 MPU-401 compatible MIDI UART driver for C-Media CMI8x38 2001-09-04 13:07:59 +00:00
itohy d655e11596 OPL3 driver for C-Media CMI8x38 2001-09-04 13:07:11 +00:00
chris 55ccaa806a Fix typos in conf.h. This stops the kernel from panicing on boot. 2001-09-04 10:21:28 +00:00
simonb c3c682fc46 Oops, <sys/sched.h> isn't asm safe, move inside an "#ifndef LOCORE" block. 2001-09-04 09:23:27 +00:00
sato 0d347adcef regen. 2001-09-04 08:46:59 +00:00
sato b6f32dcf67 add VR4131 and some cpu.
add sigmarion2, MPC-304 and so on.
2001-09-04 08:46:39 +00:00
simonb 099f117735 Standardise the format of MIPS' <machine/db_machdep.h>. 2001-09-04 07:43:29 +00:00
simonb a04de48d4b Remove comment duplicated in <mips/bsd-aout.h>. 2001-09-04 07:36:11 +00:00
simonb 9c54b886a2 Make this the same as the other MIPS ports; ok'd by Wayne Knowles. 2001-09-04 07:24:23 +00:00
simonb 7970ec8018 More RCS ID cleanup. 2001-09-04 07:22:03 +00:00
simonb 156b308a83 Remove some more useless RCS ids. 2001-09-04 07:12:28 +00:00
thorpej 150e62c0f9 Use bus_space_mmap(). 2001-09-04 06:59:10 +00:00
thorpej a08af3853a Implement bus_space_mmap(). 2001-09-04 06:57:26 +00:00
simonb c91e08563f Clean up. 2001-09-04 06:26:18 +00:00
simonb 3839989a12 Remove unneeded RCS header. 2001-09-04 06:24:54 +00:00
simonb 62fb390c64 May as well include <mips/cpuregs.h> in <mips/cpu.h> once rather than
in every MIPS port's <machine/cpu.h>.
2001-09-04 06:23:15 +00:00
simonb 214f5366ea Centralise struct cpu_info declaration and related info to <mips/cpu.h>. 2001-09-04 06:19:21 +00:00
thorpej 102190b8fe Implement bus_space_mmap(). 2001-09-04 05:31:27 +00:00
nisimura 1bd02088cf + include "dev/wsfont/files.wsfont" for VGA change. 2001-09-04 02:59:32 +00:00
thorpej 47920741b0 Implement bus_space_mmap(). 2001-09-04 02:37:08 +00:00
enami 1b4cef2087 Add prescaler bit constant (missed in previous commit). 2001-09-04 01:33:14 +00:00
manu 11736debb0 Fixed indent 2001-09-03 21:10:56 +00:00
matt 3c50edd8fb Switch hpcarm to common arm32 conf.c ; (small changes to vm_machdep.c to
make it compile under ELF)
2001-09-03 19:38:13 +00:00
matt 7ce6450eac Add a merged <pcb.h> for arm26/arm32. 2001-09-03 19:20:27 +00:00
is 8d9290c427 Allow 24 and 32bit linear audio.
Actually, the silence filler can do any multiple of 8 bits now, but I didn't
allow the parameter check to accept more than 32 bit to avoid confusion
of drivers that fail to check the parameters themselves thoroughly.
This should be changed later.
2001-09-03 18:51:43 +00:00
sommerfeld 3b5dda2596 Don't spinlockinit a simple_lock; simple_lock_init it instead. 2001-09-03 18:13:13 +00:00
thorpej f5c35acc6c Eliminate a needless test, pointed out by Bill Sommerfeld. 2001-09-03 17:49:31 +00:00
drochner 09accd52c0 manage fonts through the wsfont framework, which allows to use both
compiled-in or runtime loaded fonts,
keep font pointers in a LRU queue and load into the adapter on demand,
 so we can have more fonts in use than physical font slots

CAUTION: font loading through the wsdisplay device directly into the
adapter doesn't work anymore!
2001-09-03 17:34:07 +00:00
drochner fd065bcd87 add wsfont pseudo device 2001-09-03 17:18:22 +00:00
thorpej f7a403a447 Define more caching parameters from SCSI-3. 2001-09-03 17:14:49 +00:00
drochner cb896c703c implement a pseudo-device wsfont for access to the wsfont machinery 2001-09-03 17:05:20 +00:00
drochner 056402167e make dynamic font addition usable,
export font matching function for common use
2001-09-03 17:04:11 +00:00
reinoud e8858886be Fixed compiling error when AUDIO_DEBUG was switched on ... 2001-09-03 15:07:37 +00:00
reinoud cd44f820c2 Make it compile again when AUDIO_DEBUG is turned on ... in sequencesread
and sequencerwrite were two debug messages that had a type conflict in the
printf. I put in a (int) to solve it.
2001-09-03 14:52:29 +00:00
lukem c50eb8cc85 deprecate fs_fscktime; we never used it.
in an effort to maintain compatibility with freebsd/openbsd/whatever,
i'm attempting to get the superblock format in sync, and freebsd uses
the int32_t at this position for `fs_pendinginodes'.

if we ever decide to implement fscktime functionality, we'll:
a) make sure to liaise with the other projects to reserve the same
   spare field
b) actually implement the code this time ...

(this is also preparing us for other changes, like the new dirpref code)
2001-09-03 14:52:17 +00:00
tsutsui cc46ca4327 Add more working PCI devices on arc:
pcscp* at pci?
 epic* at pci?
 pcn* at pci?
 rtk* at pci?
 sip* at pci?
and remove le at pci, which is superseded by pcn.
2001-09-03 14:39:08 +00:00
mrg be4df68bb5 don't explicitly size the intrhand[] array; fixes PR#13859 from <martti.kuparinen@iki.fi> 2001-09-03 13:07:21 +00:00
matt 9b16bbab9f Move constab from conf.c to autoconf.c (since conf.c is going away shortly). 2001-09-03 05:02:18 +00:00
matt e940b67ae4 Use new shared arm/arm32/conf.c 2001-09-03 04:28:51 +00:00
thorpej a73a7f44bd Bump MAX_CONF_DEV to 32, add some missing newlines in error
messages, and add a TODO item (allocate all metadata dynamically).
2001-09-03 03:46:26 +00:00
matt d7c7a3ea02 Add __ELF__ stuff for resized types under ELF. 2001-09-03 01:51:39 +00:00
matt b0f89169ee Switch netwinder to use a common conf.c for the arm ports. 2001-09-03 01:50:00 +00:00
matt cc353c4912 Sync hpcarm & arm32 conf.c (this entails shifting the i4b major numbers
up by one on arm32 and and adding notdef entries on hpcarm).
2001-09-03 01:33:38 +00:00
uwe 73b5928070 _bus_dmamap_load_mbuf: panic with correct function name. 2001-09-03 01:14:14 +00:00
thorpej 3ac8a43f8b Comment what the PF bit means in the MODE SELECT command, and
define a scsipi_mode_page_header, which has the common fields
(page code and page length) of all mode pages.
2001-09-02 22:06:16 +00:00
thorpej dda09e1b39 Add the Force Unit Access and Disable Page Out bits to the
READ(10) and WRITE(10) commands.
2001-09-02 20:17:04 +00:00
thorpej e6bfee4968 Use the AUDIO_PAGE definition common to SCSI and ATAPI. 2001-09-02 19:53:40 +00:00
thorpej ac7519b12e Centralize the definition of the page code mask and page-savable bit
in the pages returned by MODE SENSE.
2001-09-02 19:35:20 +00:00
matt 64bde37d3a com (16550) attachment for iq80310 2001-09-02 18:50:13 +00:00
thorpej d737e7fda8 Oops, name the caching parameters page structure member. 2001-09-02 16:47:45 +00:00
enami 26ea33d355 Fix an obvious typo found while reading the source. 2001-09-02 13:17:54 +00:00
tsutsui 354cce66e5 Use be16toh(), be32toh(), le16toh() and le32toh() rather than
ntohs(), ntohl() or homegrown bswap() functions.

XXX Does anyone use drives with PQUIRK_LITTLETOC on big endian machines?
2001-09-02 13:11:53 +00:00
manu 27d1edf719 Added 64 bits support in header files.
All headers should be common to 32 bits MIPS and 64 bits MIPS now.
2001-09-02 08:39:37 +00:00
tsutsui 1f2768852a Enable siop at pci. 2001-09-02 08:27:07 +00:00
manu f914316a09 Fixed indent problems 2001-09-02 07:56:11 +00:00
manu 220d274aa6 Fixed indent problems 2001-09-02 07:27:33 +00:00
manu 54eff3d533 Added some comments 2001-09-02 07:25:58 +00:00
manu b9581b43a2 Fixed an error in a define 2001-09-02 07:24:49 +00:00
tsutsui cf574991b8 Add a small version of memmove() for libsa.
Mostly identical with libsa/bcopy.c.
2001-09-02 07:04:16 +00:00
manu fbdc500a69 Fixed indent problems 2001-09-02 06:51:15 +00:00
tsutsui a234112f80 Make 3C509[B] in ISA mode probed correctly on big endian machines. 2001-09-02 06:46:57 +00:00
mrg 3ec1b99028 place the main chunk of POWEROFSEVEN's config into the .inc file, and have
the 32 and 64 files define MACHINE_ARCH, CC, LD and AS appropriately to build
a 32 or 64 bit kernel, respectively.  this allows either to be built on a
system that can generate 32 or 64 bit code.
2001-09-02 05:53:38 +00:00
lukem e3ba61f9f3 Incorporate fix by iedowse @ FreeBSD to allow disks with large numbers of
cylinder groups to work correctly, with minor modifications by me to work
with our FFS_EI code.  From the FreeBSD commit message:

	The ffs superblock includes a 128-byte region for use by temporary
	in-core pointers to summary information. An array in this region
	(fs_csp) could overflow on filesystems with a very large number of
	cylinder groups (~16000 on i386 with 8k blocks). When this happens,
	other fields in the superblock get corrupted, and fsck refuses to
	check the filesystem.

	Solve this problem by replacing the fs_csp array in 'struct fs'
	with a single pointer, and add padding to keep the length of the
	128-byte region fixed. Update the kernel and userland utilities
	to use just this single pointer.

	With this change, the kernel no longer makes use of the superblock
	fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c
	to indicate that these fields must be calculated for compatibility
	with older kernels.

	Reviewed by:    mckusick
2001-09-02 01:58:30 +00:00
eeh 2102cef10c Add an entry for level-15 interrupts. 2001-09-02 01:45:47 +00:00
eeh 87bb8014dc Get rid of all simba references. 2001-09-02 01:18:56 +00:00
thorpej 1cbbd5c37c Disable all of the RF_ASSERT()s by default, enabling them if the
RAID_DIAGNOSTIC option is specified in the kernel configuration
file.
2001-09-01 23:50:43 +00:00
atatat 5f25c01eff Comment out bridge pseudo devices from ports that don't
__HAVE_GENERIC_SOFT_INTERRUPTS.  bridge(4) doesn't compile there.
2001-09-01 23:08:40 +00:00
atatat 97c67a9bae Add bridge pseudo devices to GENERIC configs 2001-09-01 21:52:23 +00:00
chs 8677b0ddf4 rearrange pmap_kenter_pa() to map unmanaged pages uncached as well.
this is apparently needed on the arc port.
slight optimization in pmap_kremove().
2001-09-01 17:08:19 +00:00
mjacob 6bb9f4a949 Add support for 2 Gigabit cards (2300/2312). This necessitated a change
in how interrupts are down- the 23XX has not only a different place to check
for an interrupt, but unlike all other QLogic cards, you have to read the
status as a 32 bit word- not 16 bit words. Rather than have device specific
functions as called from the core module (in isp_intr), it makes more sense
to have the platform/bus modules do the gruntwork of splitting out the
isr, semaphore register and the first outgoing mailbox register (if needed)
*prior* to calling isp_intr (if calling isp_intr is necessary at all).
2001-09-01 07:12:23 +00:00
msaitoh d3e7333a60 s/cpu_startup/sh3_startup/g in panic messages 2001-09-01 03:02:31 +00:00
thorpej 2cf7638731 Add the caching parameters mode page. 2001-09-01 02:39:21 +00:00
mjacob 18e1071fce Add table value for Ultra3, so configuring an Ultra3 disk shows:
sd1: sync (12.5ns offset 14), 16-bit (160.000MB/s) transfers, tagged queueing enabled

instead of:

sd1: sync (36.0ns offset 14), 16-bit (55.554MB/s) transfers, tagged queueing enabled
2001-09-01 00:54:38 +00:00
mjacob 4986b9ee8b Ulp! Open Wide! Another Firmware Enchilada!
2-Gigabit card firmware.
2001-08-31 22:28:37 +00:00
chuck 31ae40ba15 confirmed the code for MID_VAX1K NMAGIC binaries was wrong,
you've got to pad the text just like with 4.3BSD binaries.
fix it.

i have now successfully tested compat-vax1k with real
o/m/z magic binaries from both 4.3BSD and netbsd 1.3.
2001-08-31 18:44:12 +00:00
martin c51e03edde Move struct segmap declaration inside #ifndef _LOCORE to make locore.s
compilable again.
2001-08-31 18:06:13 +00:00
eeh 5783dd5873 instance-to-path works on instances not nodes. 2001-08-31 17:10:54 +00:00
eeh ed373b780a Change data segment size calculations so we don't need to resize if the
bootloader did it for us.
2001-08-31 16:47:41 +00:00
augustss 60ffafe273 Add a new quirk, PQUIRK_NOBIGMODESENSE, for devices that need big
SCSI ops, but still fails on big mode sense.
Makes M-Sys DiskOnKey work.
2001-08-31 07:09:41 +00:00
augustss 033a7fa40d Some quirks for USB M-Sys DiskOnKey. Still not enough to make it work. 2001-08-31 06:54:42 +00:00
chs 94d6f3ee95 map files are zero-length. 2001-08-31 04:56:26 +00:00
simonb 023bdd2bf2 Use comments around the token after a #endif. 2001-08-31 04:44:54 +00:00
simonb e5b3cbb4cd Use comments around the token after a #endif. 2001-08-31 04:18:52 +00:00
simonb a6b8c86af0 Remove an unneeded comment; ``sync'' with other "just include <mips/foo.h>"
files.
2001-08-31 03:53:22 +00:00
simonb 4ac4da1c52 G/C the unused kernel-only CLK_TCK #define.
XXX: does include/time.h still need <machine/limits.h>?
2001-08-31 03:46:03 +00:00
lukem 563fb2d03f no need to cast arg to lblktosize() any more 2001-08-31 03:38:45 +00:00
lukem 2bfd8a2678 More fixes from FreeBSD (with changes):
- Cast blk argument to lblktosize() to (off_t), to prevent 32 bit overflow.
  whilst almost every use in ffs used this for small blknos, there are
  potential issues, and it's safer this way.  (as discussed with chuq)
- Use 64bit (off_t) math to calculate if we have hit our freespace() limit.
  Necessary for coherent results on filesystems bigger than 0.5Tb.
- Use lblktosize() in blksize() and dblksize(), to make it obvious what's
  happening
- Remove sblksize() - nothing uses it
2001-08-31 03:15:45 +00:00
briggs e6ca9b3514 Fix use of uninitialized variable. Missed by gcc, spotted by enami. 2001-08-31 01:00:16 +00:00
eeh 84fb62aba0 Handle kernels with data+BSS segments larger than 4MB. 2001-08-30 23:00:19 +00:00
eeh f2e3486b5b Preliminary UltraSPARC III suport (not enabled yet). 2001-08-30 22:58:30 +00:00
matt 04bdd02c1a Make pmap_pte_insert STATIC so it will show up in DEBUG kernel with DDB
traces.
2001-08-30 22:06:44 +00:00
matt 4a580ee45e Make sure to restore SR 0 since returning from a syscall is actually
one way of doing a process context switch.
2001-08-30 22:00:48 +00:00
matt a140263932 Add new 7450 SPRs 2001-08-30 21:55:27 +00:00
matt 50b056bc3a Teach db_trace that some low addresses are ok to trace. 2001-08-30 21:44:58 +00:00
manu 8e1033bfc3 Enable the GCC signature test so that ld.so will be executable (needed for
Linux's ldd)
2001-08-30 20:41:36 +00:00
manu 8537f76c98 Changed the way signature tests are done. This makes possible to run
ld.so as an executable on the PowerPC (Linux's ldd does this), and it also
much clearer IMHO.
2001-08-30 20:22:08 +00:00
rearnsha 46f383bde2 Adjust printf format string for size_t change. 2001-08-30 17:16:02 +00:00
soren 9b39be0b69 Regen. 2001-08-30 16:22:48 +00:00
soren 6863a605e0 Add some more Hifn chips. 2001-08-30 16:21:42 +00:00