summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prevent buffer overflow in format_cmd() by properly tracking maximumjkh2003-01-064-16/+24
| | | | | | buffer size. Reported by: Lionnel CHAPTAL <Lionnel.Chaptal@IPricot.com> MFC after: 1 week
* Add two symbols start_ctors and stop_ctors to allow us to find thephk2003-01-062-0/+8
| | | | .ctors section so we can call the constructors.
* strfmon(3) does not correctly handle multibyte characters in thetjr2003-01-061-0/+6
| | | | format string.
* Note that the printf(3) and scanf(3) family of functions don't deal withtjr2003-01-062-2/+14
| | | | multibyte characters in the format string correctly.
* Fix fc->dev to fc->bdev.simokawa2003-01-061-1/+1
|
* Link a.out(5) to aout(5) to follow the module name.trhodes2003-01-061-1/+2
|
* Add two new manual pages. Welcome the ida(4) and iir(4) manual pages.trhodes2003-01-063-0/+130
|
* We have a usable 'LOGIN_NAME_MAX' now.obrien2003-01-061-2/+0
|
* Add the POSIX sanctioned "LOGIN_NAME_MAX" -- Maximum length of a login name.obrien2003-01-061-1/+1
| | | | | | Minimum Acceptable Value: _POSIX_LOGIN_NAME_MAX. The comments at the bottom of this file claim sysconf(3) provides this value, but it seems sysconf(3) hasn't implemented this yet.
* Cast return values of sizeof() to int so they can be printed with %d.mike2003-01-061-2/+2
| | | | | | | The size of this struct is unlikely to ever grow beyond what an int can represent. Noticed by: alpha tinderbox
* Need to prototype strsuftollx() to quiet a warning.obrien2003-01-061-0/+8
|
* Make the "nbsd_20030105" import build.obrien2003-01-063-1/+18
|
* This commit was generated by cvs2svn to compensate for changes in r108760,obrien2003-01-061-0/+254
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * NetBSD files needed to build LukeM's ftpd src as taken from the NetBSD CVS repo.obrien2003-01-061-0/+254
| | | | | | | | | | The "portable" release of this is just lagging way too far behind what is in NetBSD's base.
* | Move ia64_sapics and ia64_sapic_count from interrupt.c to sapic.cmarcel2003-01-062-24/+59
| | | | | | | | | | | | | | | | | | | | | | | | and declare them extern in interrupt.c. This eliminates the need for ia64_add_sapic(), which is called from sapic.c. While here, reformat ia64_enable() in interrupt.c to improve indentation and add a sysctl (machdep.apic) to dump the I/O APIC entries currently programmed into all I/O APICs. The latter can help analyze interrupt problems. Note that the sysctl is not intended as a userland (software) interface. It may be changed in the future to include counters so that vmstat -i can make use of it. It may also be removed...
* | Ooops, use the full name of XL_FLAG_EEPROM_OFFSET_30silby2003-01-061-1/+1
| | | | | | | | Noticed by: Niels Chr. Bank-Pedersen <ncbp@bank-pedersen.dk>
* | Move the itm reload to a single place rather than having two identicalpeter2003-01-061-2/+2
| | | | | | | | | | | | | | copies of the reload. Note that we use the precomputed itm_reload value so that we can avoid a division in the kernel. The ia64 cpu does not have integer divide, so this would have been done by a floating point operation.
* | Replace the hardcoding of 255 as the clock interrupt vector withmarcel2003-01-064-3/+5
| | | | | | | | | | | | | | | | | | | | | | CLOCK_VECTOR and define it as 254, not 255. Vector 255 is already in use as the AP wakeup vector on the HP rx2600. This needs to be made more dynamic. The likelyhood of vector 254 being in use is pretty small, but we already have code to assign vectors to IPIs (see sal.c) and it's preobably better to have a centralized "vector manager" that hands out vectors based on some imput (like priority).
* | Explicitly have the timecounter init happen after the cpu_initclocks ispeter2003-01-062-2/+2
| | | | | | | | | | | | | | | | | | called. Otherwise (depending on a non-deterministic sort), the timecounter code can be initialized before the clock rate has been set (on ia64) and it assumes hz = 100, rather than the real value of 1024. I'm not sure how much gets upset by this. Glanced at by: phk
* | Enable pppctl(8) on ia64.marcel2003-01-061-1/+1
| |
* | Port libc_r to ia64. We need to do things slightly differentmarcel2003-01-065-1/+45
| | | | | | | | | | | | | | | | | | | | | | because we have 2 stacks per thread: the regular downward memory stack and the irregular upward register stack. This implementation lets both stacks grow toward each other. An alternative scheme is to have them grow away from each other. The alternate scheme has the advantage that both stack grow toward guard pages. Since libc_r is virtually dead and we really want the *context stuff for thread switching, we don't try to be perfect, just functional.
* | Add support for the 3c555 miniPCI chipset.silby2003-01-062-1/+9
| | | | | | | | | | | | Submitted by: johannes <johannes@paradise.net.nz> PR: 46603 MFC after: 3 days
* | Manually inline handleclock(). There's only a single caller andmarcel2003-01-063-9/+2
| | | | | | | | | | | | | | | | handleclock itself is trivial. While here, replace (itc_frequency+hz/2)/hz with itm_reload for consistency. There's now a single place where we determine the ITM reload value.
* | Add two MII_SETs to provide a bit more time between operations insilby2003-01-061-0/+2
| | | | | | | | | | | | xl_sync; this appears to be necessary with certain systems. Requested by: Michael Class <michael_class@gmx.net>
* | Count interrupts as soon as possible. This makes sure interrupts aremarcel2003-01-061-3/+3
| | | | | | | | counted even when there are no handlers.
* | Merge our .Nm changes into the nbsd_20030105 import.obrien2003-01-062-42/+140
| |
* | This commit was generated by cvs2svn to compensate for changes in r108746,obrien2003-01-0612-483/+841
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of LukeM's ftpd taken from the NetBSD CVS repo on 5-Jan-2003.obrien2003-01-0614-524/+976
| | | | | | | | | | The "portable" release of this is just lagging way too far behind what is in NetBSD's base.
* | Build pppctl on sparc64, now that we have libc_r.tmm2003-01-051-1/+1
| |
* | Build libc_r on sparc64, it should work now.tmm2003-01-051-1/+1
| |
* | correct pkthdr length calculation for ipv6 echo packets; after moving a packetsam2003-01-051-3/+6
| | | | | | | | | | | | | | | | | | header with M_MOVE_PKTHDR one should not reference the packet header in the original packet; in this case the code was assuming that m_adj would alter m_pkthdr.len which stopped happening because M_MOVE_PKTHDR removes the M_PKTHDR bit from m_flags Submitted by: Bill Fenner <fenner@research.att.com>
* | Add MD definitions for sparc64. This is based on work by des.tmm2003-01-051-0/+29
| |
* | Add an implementation of _atomic_lock for sparc64. This was submitted bytmm2003-01-051-0/+45
| | | | | | | | | | des; I tweaked it slightly by extending the membar and making it match the style of the rest of the sparc64 assembler code.
* | Rewrite longjmp() and _longjmp() to directly restore the saved frame,tmm2003-01-052-55/+19
| | | | | | | | | | | | | | | | | | instead of unwinding the call stack. This makes them usable to switch stacks, e.g. for libc_r. Do not save the frame pointer in setjmp() and _setjmp(), it is not needed any more. Rename _longjmp() to ___longjmp(), with a weak alias to _longjmp(), like the other architectures did.
* | Don't hardcode the address of the local (S)APIC (aka processormarcel2003-01-054-2/+33
| | | | | | | | | | | | | | interrupt block). We use the previously hardcoded address as a default only, but will otherwise use whatever ACPI tells us. The address can be found in the MADT table header or in the LAPIC override table entry.
* | Rename siglongjmp() to __siglongjmp(), with a weak alias to siglongjmp(),tmm2003-01-051-2/+4
| | | | | | | | like the other architectures do.
* | Fix cut&paste bug which would result in a panic because buffer wasphk2003-01-051-2/+2
| | | | | | | | being biodone'ed multiple times.
* | Bump the number of interrupts from 65 to 257. This is a waste ofmarcel2003-01-051-1/+1
| | | | | | | | | | | | space most of the time, but handles machines with lots of I/O (S)APICs. We cannot make this more dynamic without breaking the interface with vmstat. Hence, we need to fix the interface first.
* | Handle 3-digit interrupt numbers (vectors). While here, change themarcel2003-01-052-6/+10
| | | | | | | | | | | | | | name of unused entries from "intr XXX" to "#XXX". This makes it easier to debug interrupt problems, because vmstat can be hacked more easily to dump all interrupt entries that are in use and not those that have had interrupts.
* | - Merge the following from the English version:hrs2003-01-055-2/+65
| | | | | | | | | | | | | | | | | | | | 1.2 -> 1.3 hardware/sparc64/Makefile - Add new translations and activate them: (new) -> 1.1 hardware/pc98/Makefile (new) -> 1.1 hardware/pc98/article.sgml (new) -> 1.1 hardware/pc98/proc-pc98.sgml
* | rl(4) works on sparc64 now.jake2003-01-052-24/+24
| |
* | Make all memory I/O addresses (explicitly) 64-bit. Memory mappedmarcel2003-01-051-11/+11
| | | | | | | | | | | | devices aren't necessarily mapped within 4GB. I/O port addresses are offsets into the memory mapped I/O port space, which is not larger than 16MB. No need to convert those to 64 bit types.
* | Tweaks to make if_rl work on sparc64.jake2003-01-051-4/+10
| | | | | | | | | | Mostly submitted by: tmm Tested on: i386, sparc64
* | Provide a null-implementation for bus_space_unmap, like i386.marcel2003-01-051-2/+5
| | | | | | | | bus_space_unmap is required for puc(4).
* | Add support for bzip2ed log files.se2003-01-053-3/+21
| |
* | Add common/dev.sgml as a source forgotten in the previous commit.hrs2003-01-051-0/+1
| |
* | - Merge the following from the English version:hrs2003-01-056-23/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.3 -> 1.4 hardware/i386/article.sgml - Add new translations and activate them: 1.3 -> 1.5 hardware/Makefile 1.3 -> 1.4 hardware/common/hw.ent 1.1 -> 1.2 hardware/sparc64/Makefile 1.2 -> 1.3 hardware/sparc64/article.sgml (new) -> 1.5 hardware/sparc64/proc-sparc64.sgml Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org> References: [doc-jp-work 549]
* | - Catch up with the English version:hrs2003-01-054-3/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | 1.3 -> 1.4 relnotes/i386/article.sgml - Hook ia64 up to the build: 1.4 -> 1.5 relnotes/Makefile (new) -> 1.1 relnotes/ia64/Makefile (new) -> 1.1 relnotes/ia64/article.sgml Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org> References: [doc-jp-work 550]
* | Convert VOP_STRATEGY to VOP_SPECSTRATEGY in the generic getpages andphk2003-01-051-2/+2
| | | | | | | | the pager input for small filesystems.
* | Merge the following from the English version:hrs2003-01-051-5/+28
| | | | | | | | | | | | | | 1.6 -> 1.8 early-adopter/article.sgml Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org> References: [doc-jp-work 548]
OpenPOWER on IntegriCloud