Commit Graph

116485 Commits

Author SHA1 Message Date
phx d539a37d01 Fixed dependencies for some new PCI and clockport devices, to make a
kernel compile without them.
2012-10-27 11:54:21 +00:00
joerg 387c6f6f2e Fix uninitialised variable warning from clang by removing the variable
used in first place.
2012-10-27 07:19:45 +00:00
tls 9d8dce6eca Fix hardware RNGs -- accept their entropy estimates *rather than* using
timestamps to estimate the entropy of their input.  I'd accidentally
made it so no entropy was ever counted from them at all.
2012-10-27 01:29:02 +00:00
msaitoh 68c182ec5d Add missing mii_tick() call. 2012-10-26 21:03:26 +00:00
msaitoh dab0d606c2 Add PCI stuff. 2012-10-26 19:15:52 +00:00
chs 1eddef034c in osyscall, set the PSL_I bit into the correct field of the trapframe.
it was going into tf_eip instead of tf_eflags, which would sometimes
corrupt %eip and always return to user mode with interrupts disabled.
this was found with a netbsd 1.0 binary, and dsl@ points out that
this should also fix PR 41342.
2012-10-26 14:46:44 +00:00
skrll 74abee6cf8 Count the memory regions in bootconfig.dramblocks when using the VCPROP
information.
2012-10-26 10:03:13 +00:00
bouyer b79ecab599 Workaround PR kern/47097: use delay() instead of tsleep() ahci_do_reset_drive()
if not called with AT_WAIT.
The right fix here is to change the ata layer to reset the drive from
thread context, to avoid a 0.5 delay() in interrupt context when a drive
fails.
2012-10-26 09:59:11 +00:00
matt e56dab24fd When writing intmask from a softint/workqueue thread, make sure to do so
only with the hwlock locked.
2012-10-26 05:28:41 +00:00
matt 55802fc77d Use atomic_ops to manipulate sc_intmask 2012-10-26 05:11:34 +00:00
matt 792c944d32 For the AMACs, turn off read-allocate/write-allocate when doing DMA. 2012-10-26 04:46:06 +00:00
matt 578d2492fc Add A*CACHE values for AMAC. 2012-10-26 04:45:36 +00:00
matt 1c869a02fb For now, until rnd is fixed, don't use NO_ESTIMATE. 2012-10-26 04:45:03 +00:00
msaitoh a9ceb4700c Move the prototype definition of ether_input() from if.h to if_ether.h. 2012-10-25 11:53:14 +00:00
msaitoh 11dd166429 Add 1000baseT-FDX. 2012-10-25 10:59:43 +00:00
christos 81f024e94e rename ptyfs_flag -> ptyfs_status to avoid confusion with ptyfs_flags 2012-10-24 23:36:15 +00:00
skrll 312162546c Remove unnecessary cast.
From chuq (I think)
2012-10-24 21:45:09 +00:00
skrll 0ba600c8bd Compare pointer against NULL not 0. 2012-10-24 21:31:06 +00:00
skrll 975e296a40 Add the ifls register. 2012-10-24 21:23:45 +00:00
royger cbd5ff4886 xen: don't use grants 0-8
Not all grants from the first frame can be used, grants from 0 to 8
(both included) are reserved for external tools. Using this grants
caused system crashes and fs corruption.

Closes PR port-xen/47057 and port-xen/47056
Reviewed by bouyer@
2012-10-24 13:07:46 +00:00
christos 0966ff043a fix the mystery of the bad directory times. 2012-10-23 23:31:00 +00:00
matt 6e8d5de6cc Support a MEMSIZE option 2012-10-23 23:16:05 +00:00
matt 4c081d1236 Add MEMSIZE as an option. 2012-10-23 23:13:20 +00:00
matt 9c56f67ee2 When allocating the kernel virtual addresses, make sure to match the
color of the user addresses.
2012-10-23 22:50:00 +00:00
dyoung 9496624c30 Run $(TOOL_CTAGS) instead of ctags: sometimes it's better than the host's
native ctags, and it's nice to have consistent ctags from one host to another.
2012-10-23 16:08:12 +00:00
macallan 98249f3c06 make anti-aliased character drawing work on hardware where stride != width * bytes per pixel 2012-10-23 15:12:59 +00:00
skrll 4b8894bd4b Correct inverted boolean logic for the coherent flag introduced in r1.61
Fixes slow nfs seen by msaitoh@
2012-10-23 12:23:20 +00:00
macallan 56d117046e support anti-aliased fonts 2012-10-23 11:53:18 +00:00
christos 3a1d62f3bf This move is taking too long :-) make the file re-appear to fix the build. 2012-10-22 21:21:07 +00:00
jakllsch 855ce55c8b Work around missing __BUS_SPACE_HAS_STREAM_METHODS on some ports. 2012-10-22 16:43:05 +00:00
matt 64683924bd Switch to ARM_VECTORS_HIGH 2012-10-22 15:43:32 +00:00
matt f81200e3b1 Only call cpu_{,s}dcache_inv_range if len > 0 2012-10-22 15:01:18 +00:00
christos f8f2550e7b define __alignof() in terms of __alignof__ if it is available. 2012-10-22 14:00:07 +00:00
matt d37307fce6 Add FORCE quirks for ASMEDIA ASM1061 2012-10-21 23:09:53 +00:00
matt 85f4e1955f Regen. 2012-10-21 23:07:23 +00:00
matt 091b3a00db Add more ASMEDIA 1061 variants. 2012-10-21 23:06:59 +00:00
christos f9cda8244e Add an __alignof() macro. 2012-10-21 22:35:52 +00:00
matt 6f80309aca Make sure when mapping all the kernel, start at KERNEL_BASE, not kernel_base. 2012-10-21 22:04:05 +00:00
alnsn faf841b39a Move sljit_mod.c to sys/external/bsd/sljit/sljit and share it between
builtin and standalone module.
2012-10-21 21:23:38 +00:00
alnsn f5217f73dd Update README.import. 2012-10-21 19:15:10 +00:00
alnsn 2b598a624b Import sljit @ r176.
r176: Add void to function definitions. Patch by Alexander Nasonov
2012-10-21 19:07:18 +00:00
matt 492b6e5c4a Change to use symbolic constants from assym.h and fix a typo in a comment. 2012-10-21 15:46:00 +00:00
matt 2e1f9eb48e Add softint processing for irq_idle_entry 2012-10-21 10:29:53 +00:00
matt 32de2cd202 Use static initializer for bus dma tag initialization 2012-10-21 10:29:23 +00:00
matt 2f91e8eb8f Use right flag name for bus_dmamem_map (fixes usb on BCM53xx). 2012-10-21 10:22:40 +00:00
matt 2081417ca3 Implement a "fast" path for IRQ handling out of the idle loop. Since we
are in SVC32 already we only need to save a few registers.  Processing is
also simplified since we know we can't return to user-mode.
2012-10-21 09:25:16 +00:00
msaitoh 41914441d3 Add SB600_USB_OHCI0 again. This was (accidentally) removed in rev. 1.1105 2012-10-20 19:53:28 +00:00
kiyohara 5e233c258e Add experimental support GENERIC.MP. 2012-10-20 14:53:37 +00:00
matt 7f4276712d Increase l2pts to accomodate large memory disks. 2012-10-20 14:42:20 +00:00
kiyohara 515e584834 Support Cache Protocol 'MEI' with MULTIPROCESSOR. 2012-10-20 14:42:15 +00:00