Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-24 | ansi func decls | Jonathan Gray | |
2009-05-14 | Add two hooks allowing MD code get a MD header to be included if needed, | Miod Vallat | |
and to override the way HEAP_START and HEAP_LIMIT are defined. | |||
2009-03-02 | Send valid ERROR packets to prematurely terminate a transfer. | Kenneth R Westerback | |
According to RFC1350 there should be always be a terminating NUL. Andre Gillibert on bugs@ pointed out that the misformed packets caused Gentoo Linux's tftpd (atftpd) to crash trying to transfer pxeboot to an OpenBSD machine. This is slightly different diff than the one proposed by Andre, but he confirms it also fixes the problem. "looks like a better diff to me" deraadt@. | |||
2009-01-25 | memcpy needs a prototype which is in systm.h | Alexander Yurchenko | |
ok form@ kettenis@ | |||
2009-01-18 | If open() failed because the file does not exist, a struct sd for this file | Miod Vallat | |
won't be allocated. Check for this in close() so as not to free() bogus pointers. | |||
2008-10-15 | make random(9) return per-cpu values (by saving the seed in the cpuinfo), | Theo de Raadt | |
which are uniform for the profclock on each cpu in a SMP system (but using a different seed for each cpu). on all cpus, avoid seeding with a value out of the [0, 2^31-1] range (since that is not stable) ok kettenis drahn | |||
2008-10-10 | Use the MI random() for all cases; no need for a MD version since it | Theo de Raadt | |
has never been performance sensitive. Running on all platforms, discussed with millert and kettenis, ok toby | |||
2008-10-07 | unbreak ieeefp emulation code wrt converting double to unsigned | Martynas Venckus | |
long ints for alpha. we've got only one instruction (cvttq) to convert double-t to quadword, and float64_to_int64 did not take into account the unsigned conversions therefore, overflow always occured, and half of the unsigned range (LONG_MAX .. ULONG_MAX) was broken introduce roundAndPackInt64NoOverflow and float64_to_int64_no_overflow for softfloat, that works with unsigned integers as well. note that this will return zero for nan/inf/oflow/uflow, raising exception flag perl is happy now looked over by miod@ tested by naddy@, and by me on nick@'s alpha | |||
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2008-05-14 | These files are not used (and some of them would not compile anyway). | Miod Vallat | |
2008-05-08 | KNF | Joel Sing | |
2008-05-08 | Fix alignment - sizeof(long) does not always match the address size of the | Joel Sing | |
ELF image being loaded. ok miod@ | |||
2008-04-20 | Catch up with dismantled libkern. | Mark Kettenis | |
2008-04-20 | Remove the random() function from locore.s (which used sparcv7 instructions, | Mark Kettenis | |
including mulscc to do multiplications) and switch to the generic random.c code. | |||
2008-04-19 | Change ELF loader to use the LMA as the load address for the | Tobias Weingartner | |
various segments. Hopefully this will help remove various hacks in the boot loader in the future. This should have no effect on most architectures (as we tend to have LMA == VMA). ok drahn@, soft ok's various others. | |||
2008-03-31 | Correctly load ZMAGIC a.out binaries. | Miod Vallat | |
2008-03-31 | Fix format strings in a.out loader. | Miod Vallat | |
2008-03-30 | Let this compile with BOOT_AOUT defined. | Miod Vallat | |
2008-02-25 | delete prototypes for functions which the kernel does not have | Theo de Raadt | |
from brynet@gmail.com | |||
2008-01-23 | Cleanup cn_pri. Change constants to more meaningful names, rather than | Joel Sing | |
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@ | |||
2008-01-06 | repair build of boot code where it uses an undefind __ashldi3 on some archs | Otto Moerbeek | |
boot code uses 32-bit blknos anyway | |||
2007-12-29 | Override SoftFloat's countLeadingZeros32() with a faster, ff1-based, version | Miod Vallat | |
on m88k. | |||
2007-12-29 | Unifdef NO_IEEE in the libkern softfloat code, and put an appropriate rule | Miod Vallat | |
in files.alpha to compensate for NO_IEEE kernels. This will allow the softfloat code to be used by other platforms than alpha. | |||
2007-11-28 | place a comment as to why these are otherwise empty | Theo de Raadt | |
2007-11-27 | mips64 also needs memcpy.S, otherwise memcpy.c gets built, which conflicts | Joel Sing | |
with bcopy.S ok miod@ | |||
2007-11-26 | mips64 needs at least these to build; spotted by jsing | Theo de Raadt | |
2007-11-25 | libkern, begone. Move to a new mechanism where config(8)'s "file" | Theo de Raadt | |
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner.. | |||
2007-11-24 | SCCS junk, bit by bit | Theo de Raadt | |
2007-11-24 | junk RCS | Theo de Raadt | |
2007-11-24 | junk SCCS | Theo de Raadt | |
2007-11-24 | more junk SCCS | Theo de Raadt | |
2007-11-24 | junk SCCS | Theo de Raadt | |
2007-11-24 | delete unused junk RCS ids | Theo de Raadt | |
2007-11-24 | ansi C | Theo de Raadt | |
2007-10-13 | Uncomment rule to build bcopy.S, and use that as our bcopy(9) implementation. | Mark Kettenis | |
2007-10-13 | Make this actually work by using the right register numbers. In the conversion | Mark Kettenis | |
from hppa the fact that t1-t4 actually number down from r22-r19 got somehow lost. | |||
2007-09-10 | Make function pointer calls look all alike; from Holger Mikolon. | Miod Vallat | |
No change in generated code. | |||
2007-06-26 | Fix the description of loadfile() semantics in comment (and kill "and | Tom Cosgrove | |
and" at the same time). | |||
2007-05-30 | Pull out the ELF loadfile pieces from the standalone libraries, so that | Tom Cosgrove | |
both 32- and 64-bit versions can be created (previously only one or the other could be built for a given boot loader). Use this to allow the i386 and amd64 boot blocks to boot both ELF32 and ELF64 kernels (i.e. amd64 boot blocks can now load i386 kernels, and vice versa). Obviously the system must support LONG mode in order to successfully run the amd64 kernel once it is loaded. Advice and discussions from/with dale@ (going back three years). Much testing nick@ and todd@; thanks. | |||
2007-05-25 | "boundries" -> "boundaries" in various comments. Started by Diego Casati. | Kenneth R Westerback | |
2007-05-14 | move hppa to __HAVE_CPUINFO | Martin Reindl | |
input from miod@, ok kettenis@ | |||
2007-05-04 | more locc() dies | Theo de Raadt | |
2007-05-04 | locc() is dead, spotted by miod | Theo de Raadt | |
2007-05-04 | move bcd tables to the only place that uses them (the unused mcd driver); | Theo de Raadt | |
ok miod | |||
2007-05-04 | remove strcpy and strcat from the kernel; they are dead and unused code. | Reyk Floeter | |
(OpenBSD does not use strcat/strcpy in the kernel, if people do it in external modules they should update their code) ok deraadt@ | |||
2007-05-03 | some shorter code is better code | Theo de Raadt | |
2007-03-16 | Re-initialise f_seekp to 0 on a successful read_inode() return. | Marc Aurele La France | |
Fixes a problem that prevented the booting of a kernel that, to be found, needs more than one block per directory iin its path to be read. ok miod@, deraadt@ | |||
2007-01-04 | Revert 1.11 and load .shstrtab, as it is currently needed for /dev/ksyms | Miod Vallat | |
proper operation. | |||
2006-12-30 | do not load unneeded stringtab sections; avoids backward seeking; from ↵ | Michael Shalayeff | |
netbsd; tested by miod@ and martin@; deraadt@ ok | |||
2006-11-29 | make it compile w/ debug defined; miod@ ok | Michael Shalayeff | |