Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-10-06 | more readable virtual memory size values. | Brad Smith | |
ok deraadt@ | |||
2008-10-06 | Remove useless comment. | Mark Kettenis | |
2008-10-06 | remove dead stores and newly created unused variables. | Charles Longeau | |
Found by LLVM/Clang Static Analyzer. ok weingart@ | |||
2008-10-06 | Unconditionally compile idt_vec_xxx functions. | Mark Kettenis | |
2008-10-05 | Remove IOAPIC ID remapping code. It should not be necessary to avoid reusing | Mark Kettenis | |
LAPIC IDs and if there are MPBIOSes we handle them with ACPI now. ok deraadt@ | |||
2008-10-05 | Add missing argument to printf. | Mark Kettenis | |
2008-10-04 | The wrong byte of the return code was being looked at for the | Theo de Raadt | |
PCI probe. Yuichiro Goto, PR 5048 It would be nice if someone with a "pci0 at mainbus0 bus 0: configuration 2" system would double check this and mail us back. ok toby | |||
2008-10-04 | Fix potentially uninitialized variables in syscall(). | Miod Vallat | |
2008-10-04 | this is not the cvtql/sv opcode. ok miod@, naddy@ | Martynas Venckus | |
2008-10-03 | Backout. kettenis@ has reservations. | Tobias Weingartner | |
2008-10-03 | Make extra cpu's in DDB not spin in tight loop. | Tobias Weingartner | |
Having them 'hlt' is a good thing, especially where thermal management (acpi, etc) is concerned. They wake up lots due to local tick timer anyhow. ok gwk@ | |||
2008-10-02 | First step towards cleaning up the Ethernet driver ioctl handling. | Brad Smith | |
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@ | |||
2008-10-01 | Revert last commit. It didn't really help and we fixed X11 instead. | Mark Kettenis | |
ok miod@ | |||
2008-10-01 | When things get tight, sis(4) loses first | Theo de Raadt | |
2008-10-01 | Be more agressive in flusing the cache. In addition to flushing the | Mark Kettenis | |
instruction cache, also purge TLB entries. The PA-RISC 2.0 architecture says that cache lines may be moved in when a translation exists even if no access is done. This might have been hurting us badly since we create illegal aliases in pmap_zero_page() and pmap_copy_page(). Probably not perfect yet, and perhaps a bit of a sledgehammer, but it makes PA-RISC 2.0 machines stable again. | |||
2008-09-30 | Properly count memory on machines where Open Firmware reports zero sized | Mark Kettenis | |
entries in between filled banks. ok drahn@ | |||
2008-09-30 | Fix various pmap_extract() buglets: | Miod Vallat | |
- for kernel space addresses, check the page number fits in Sysmap before accessing the array. - for user space addresses, return the right (in-page) address bits. | |||
2008-09-30 | Do not perform cache operations in vmapbuf(), pmap is supposed to do them | Miod Vallat | |
for us if needed. ok art@ kettenis@ | |||
2008-09-30 | simplify and rework the mechanism to run the leds, 'it is better' miod@ deraadt@ | Dale Rahn | |
2008-09-29 | jme(4) works on sparc64; ok jsg | Theo de Raadt | |
2008-09-29 | enable JMicron Ethernet (jme/jmphy) | Jonathan Gray | |
2008-09-28 | Always include machine/cpu.h and remove i82489reg.h/i82489var.h. | Brad Smith | |
ok kettenis@ | |||
2008-09-28 | Remove "XXX for now" NLAPIC define. Already provided via lapic.h. | Brad Smith | |
ok kettenis@ | |||
2008-09-26 | Attach agp(4) to the Intel Q35 integrated video. | Mike Belopuhov | |
Tested on ASUS P5E-VM DO motherboard. ok oga | |||
2008-09-23 | One more uninitialized local. Yawn. | Miod Vallat | |
2008-09-23 | Plug more uninitialized variables. | Miod Vallat | |
2008-09-23 | Fix uninitialized variable. | Miod Vallat | |
2008-09-23 | In pmap_steal_memory(), when a memory segment is completely allocated, | Miod Vallat | |
remove it correctly from the array. | |||
2008-09-23 | Fix uninitialized variable if the TOD clock value is horribly wrong. | Miod Vallat | |
2008-09-22 | Do not dereference an uninitialized pointer if a rogue, unknown type of board | Miod Vallat | |
is detected. | |||
2008-09-19 | Perform the mvme197 latency timer reprogramming in the boot blocks, in | Miod Vallat | |
addition to the kernel, and unconditionnaly handle all busswitch revision 1 based boards as horribly broken, even with 50MHz clocks. Based on an report of an early 50MHz 197LE board being unable to boot, due to memory corruption. | |||
2008-09-19 | AES with keysize != 128 bit is not supported in hardware, so we need | Markus Friedl | |
to switch to the software implementation; ok hshoexer, tom | |||
2008-09-19 | While vaguely interesting, the prints coming out of the driver was way too | Dale Rahn | |
noisy. Hopefully this will quiet it down for all but extremely odd cases (where we probably want to see the messages). | |||
2008-09-19 | miod pointed out that some items were multiply defined (patched into | Dale Rahn | |
existance too many times). | |||
2008-09-18 | Redesign of the powerpc interrupt architecture, use true levels intead of | Dale Rahn | |
blocking specific interrupts. Needs signficant testing to prove that one remaining elusive bug has been squashed. | |||
2008-09-17 | Also update the NVIDIA PCI id for the i386 copy of this code. | Brad Smith | |
2008-09-17 | catch up with renamed Nvidia PCI ID | Christian Weisgerber | |
2008-09-17 | Garbage collect unused variable from sys_rec structure. | Joel Sing | |
ok miod@ | |||
2008-09-17 | Unbreak com@ioc probing. | Joel Sing | |
ok miod@ | |||
2008-09-16 | Make this compile if !MULTIPROCESSOR. | Brad Smith | |
ok kettenis@ | |||
2008-09-16 | - remove some unneeded headers | Jasper Lievisse Adriaanse | |
with and ok jsing@ | |||
2008-09-16 | SMP ddb support, with some feedback from kettenis. | Dale Rahn | |
2008-09-15 | Make this compile if !MULTIPROCESSOR. | Mark Kettenis | |
ok brad@ | |||
2008-09-15 | Make this compile if !MULTIPROCESSOR. | Mark Kettenis | |
ok brad@ | |||
2008-09-14 | Use one block mapping to map kernel text up to 4MB and another one for the | Mark Kettenis | |
remainder to prevent covering kernel data. ok miod@ | |||
2008-09-13 | Kernel map is supposed to only allocate from the limited kernel addresses, | Dale Rahn | |
panic if the kernel attempts to map an improper address. | |||
2008-09-12 | Remove bzero/memset calls after pool_gets by passing the PR_ZERO | Bret Lambert | |
flag to the pool_get call. ok art@, krw@ | |||
2008-09-12 | SCSI_DATA_UIO is never used. Code which checks for it is either dead or | Miod Vallat | |
commented out, remove it. Unifdef TFS while there. ok marco@ krw@ | |||
2008-09-12 | Don't forget to actually return a pa for the K0SEG case... | Miod Vallat | |