summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Search for "elf32 kernel" (and elf64) and "elf32 module" (and elf64)peter2003-04-062-4/+12
| | | | | as well as "elf kernel" and "elf module". This is a precursor to x86-64 support in the i386 loader so it can load an elf64 x86-64 kernel.
* Use __FBSDID.mux2003-04-061-1/+3
|
* Correct the definition of the link_addr and rbd_addr fieldsmux2003-04-061-2/+2
| | | | | in struct fxp_rfa. This should have been committed with my last endianness fixes.
* - Instead of rolling our own alignment-safe function, use le32enc()mux2003-04-061-78/+66
| | | | | | which deals with both endianness and alignment issues. - Collect low-hanging fruits for endianness safety. - Use 0xffffffff instead of -1 where appropriate.
* Remove an unnecessary trunc_page() from vmapbuf().alc2003-04-061-1/+1
| | | | Reviewed by: tegge
* - Use __FXP_BITFIELDX macros to make the configuration bitfieldmux2003-04-051-81/+99
| | | | | | | | | | | endian safe. - Change some u_int to u_int8_t which make more sense here since we're really defining bytes. That produces the same code due to how bitfields work. - Add the definition of the vlan_drop_en bit (not used yet). - Add some useful comments. Obtained from: NetBSD
* Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() for themux2003-04-051-2/+21
| | | | | | | | RX part of this driver too. It's better since the code wasn't dealing with bus_dmamap_load() returning EINPROGRESS, and this can't happen with bus_dmamap_load_mbuf(). Submitted by: jake
* Don't reinitialize fields that are already initialized by getpbuf().alc2003-04-052-2/+2
|
* Unbreak the !LAZY_SWITCH case. I #ifdef'ed too much when I addedpeter2003-04-053-6/+3
| | | | | | the ifdefs prior to commit and killed the same-address-space test. Submitted by: bde
* Sufficient access checks are performed by vmapbuf() that callingalc2003-04-051-15/+1
| | | | | | useracc() is pointless. Remove the call to useracc() from physio(). Reviewed by: tegge
* Include <geom/geom_disk.h> and stop including <sys/disk.h>. Themarcel2003-04-051-1/+1
| | | | former gives us 'struct disk'.
* Remove GIANT_REQUIRED from getpbuf(). Reviewed by: teggealc2003-04-051-2/+1
| | | | Reduce pbuf_mtx's scope in relpbuf(). Submitted by: tegge
* Fix ed compilation with PAE by using %jx instead of %x.cognet2003-04-051-4/+4
|
* Use vm_paddr_t instead of vm_offset_t for the paddr parameter of vesa_mmap.cognet2003-04-051-1/+1
|
* - Change a FXP_NRFABUFS which would have been a FXP_NTXCB.mux2003-04-051-3/+3
| | | | | | - Correct some bus_dmamap_sync() calls. Submitted by: jake
* Setup our interrupt only at the end of fxp_attach(), when allmux2003-04-051-12/+12
| | | | | | other allocations/initializations have been successful. I kinda doubt it will fix the recent breakage that some people are seeing, but this could have caused problems for sure.
* Add SMP_TSC option, which can be used on SMP systems where the TSCstegge2003-04-044-2/+8
| | | | are synchronized to reduce context switch cost.
* Add a rudimentary but working driver for the Adlink "NuDaq PCI-9812".phk2003-04-042-0/+239
| | | | | | This is a 4 channel 20 msps 12 bit ADC card. Anyone wanting to play with GNUradio or similar can start here.
* Define ovbcopy() as a macro which expands to the equivalent bcopy() call,des2003-04-0416-73/+41
| | | | | | | | | | | | | | to take care of the KAME IPv6 code which needs ovbcopy() because NetBSD's bcopy() doesn't handle overlap like ours. Remove all implementations of ovbcopy(). Previously, bzero was a function pointer on i386, to save a jmp to bzero_vector. Get rid of this microoptimization as it only confuses things, adds machine-dependent code to an MD header, and doesn't really save all that much. This commit does not add my pagezero() / pagecopy() code.
* Retire <sys/diskslice.h>phk2003-04-041-35/+0
|
* Libdisk does not need to include <sys/diskslice.h> any more.phk2003-04-0420-63/+48
| | | | | | | | | Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h> Move i386/pc98 specific bits from <sys/reboot.h> to <i386/include/bootinfo.h> as well. Adjust includes in sys/boot accordingly.
* Add NE2000DVF_AX88190 flag to Corega FEther PCC-TXDsanpei2003-04-041-1/+1
| | | | (see also /etc/defaults/pccard.conf rev.1.172)
* fix typosanpei2003-04-041-1/+1
|
* ovbcopy -> bcopydes2003-04-041-1/+1
|
* Replace ovbcopy() with bcopy().des2003-04-041-3/+2
|
* Replace memcpy() and ovbcopy() with bcopy(); ditch some caddr_t usage.des2003-04-041-7/+6
|
* Don't use ovbcopy().des2003-04-042-2/+2
|
* Don't use ovbcopy(); use void * instead of char *.des2003-04-041-6/+3
|
* The kernel bcopy() is safe for overlapping regions (and always has), sodes2003-04-041-2/+2
| | | | there is no use for a separate ovbcopy().
* Rename a static variable to avoid future conflicts.des2003-04-041-2/+2
|
* Bandaid fix for previous commit while I figure out why it broke. Thisjake2003-04-042-4/+4
| | | | | | | caused crashes early in boot on i386 UP machines. Reported by: phk Pointy hat to: jake
* Additional codec ids.orion2003-04-041-0/+6
|
* Fix mismatch between bus address stored for buffer descriptors andorion2003-04-041-3/+8
| | | | | | | actual address of buffer descriptor. This should fix the reported calibration failures and subsequent speed problems with ich chipsets. Minor calibration comment updates.
* o Remove useracc() calls from aio_qphysio(); they are redundantalc2003-04-041-20/+1
| | | | | | given the checks performed by vmapbuf(). Reviewed by: tegge
* o Check the b_bufsize passed to vmapbuf() returning an erroralc2003-04-041-2/+2
| | | | | | | if it is invalid. o Remove a debugging printf() from vmapbuf(). Suggested by: tegge
* Remove `#ifndef lint' left behind after previous change.marcel2003-04-042-2/+0
|
* - Removed APTD and associated macros, it is no longer used.jake2003-04-039-80/+18
| | | | | | BANG BANG BANG etc. Sponsored by: DARPA, Network Associates Laboratories
* Use __FBSDID rather than rcsid[].obrien2003-04-03102-529/+262
|
* Remove useless initialization.mux2003-04-031-1/+0
|
* Add support for the HP Smart Array 6400 EMps2003-04-031-3/+4
| | | | | Change the interrupt mask for the Smart Array 6xxx controllers after discussions w/ HP.
* Retire the DIOCGMBR ioctl before anybody starts to use it.phk2003-04-032-6/+0
|
* Remove BIO_SETATTR from non-GEOM part of kernel as well.phk2003-04-032-2/+0
|
* Remove all references to BIO_SETATTR. We will not be using it.phk2003-04-038-31/+0
|
* Update the initializer for GEOM_MBREXT, I overlooked it previously.phk2003-04-031-3/+2
|
* Add #define for DOSPTYP_PMBR, and use it.phk2003-04-032-1/+2
|
* Add optimized block copy and zero functions using vis instructions, whichjake2003-04-032-0/+140
| | | | | | | | | | can do 64 bytes at a time and don't allocate lines in the L2 cache. These assume that everything is 64 byte aligned, and that there's more than 128 bytes of data (best for whole pages). The block load and store instructions don't follow normal memory ordering rules and require either a memory barrier or move between registers before the data can actually be used. This implementation correctly shuffles around 3 out of the 4 sets of registers in order to avoid memory barriers expect for the last 2 blocks.
* Fix fxp(4), this changed shouldn't have crept in.mux2003-04-031-2/+2
| | | | | Pointy hat to: mux Reported by: Pawel Worach <pawel.worach@nordea.com>
* Add support for saving and restoring kernel floating point state. The statejake2003-04-032-1/+45
| | | | | | | | will be saved if we context switch as a result of an interrupt which occured while using the floating point registers in the kernel (which actually can't happen right now). This allows fp disabled traps in the kernel, which normally shouldn't happen, so make sure the trapping code is what we expect it is.
* - Add space for kernel floating point registers to the pcb. These will bejake2003-04-033-10/+18
| | | | | | | | | used to support block copy and zero operations in the kernel which use the floating point registers. - While I'm changing the size, improve the layout of struct pcb, sort by size, then alphabetical etc. - Add some assertions to validate assumptions made about how the pcb is allocated.
* - Generally improve register usage in cpu_switch. Use the 'in' registersjake2003-04-031-71/+63
| | | | | | for temporaries relating to the state of the new process instead of the outs, so that functions can be called without fear of clobbering them. - Use savefpctx instead of rolling our own.
OpenPOWER on IntegriCloud