Commit Graph

110714 Commits

Author SHA1 Message Date
dyoung 5a5fb3ac65 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 16:55:42 +00:00
ahoka f1e7eb4d21 Make this actually compile by adding a wrapper function which calls
flash_io_submit.
2011-07-01 16:46:13 +00:00
rkujawa 1c3eff98bf Fix DRACO kernel breakage introduced by my previous commit. 2011-07-01 15:46:30 +00:00
hannken 661fcc7b37 ffs_copyonwrite(): If the write is to the in-file-system journal
there is no need to lock and check the snapshots.
2011-07-01 14:28:21 +00:00
rkujawa d6a5da4c75 Add Bluetooth stack to Amiga. Tested with 3Com 3CRWB6096B on an A1200. Change approved by phx. 2011-07-01 13:30:18 +00:00
mrg 7c2e122f42 apply some (uintptr_t) between pointer and int casting. 2011-07-01 08:38:10 +00:00
mrg 7e433992a7 use the right variables for the fp and pc, and avoid array bounds
violations.
2011-07-01 08:37:28 +00:00
matt 0a6157e048 Fix uninitialized data warning found by gcc 4.5 2011-07-01 07:45:39 +00:00
matt 0ea8aedfae Fix some array bounds errors found by gcc 4.5 2011-07-01 07:44:33 +00:00
matt 998bcd53a6 xxx_SUB macros should use a variant of subu, not add 2011-07-01 06:00:20 +00:00
joerg 017dd250ef Fix memset usage. 2011-07-01 02:46:24 +00:00
mrg fc8dfe2ed3 fix an uninitialised variable problem. large-ish function, but i
couldn't see how GCC 4.5 isn't wrong about this one.
2011-07-01 02:33:23 +00:00
mrg 1566d50022 add GCC 4.5 support 2011-07-01 01:26:38 +00:00
mrg b7e452c793 remove HAVE_GCC == 4 conditional 2011-07-01 01:26:15 +00:00
joerg 6aa8f81f53 Fix sizeof() usage in memcpy, curtesy of the new warning in clang. 2011-06-30 23:28:03 +00:00
dyoung a256291c3f Don't cast a pointer void * before passing to memset(), that's not
necessary.  Use NULL instead of (type *)0.  This patch produces no
change in the generated assembly.
2011-06-30 22:38:50 +00:00
wiz 4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
matt f9803142cf Use ${TOOL_GZIP} 2011-06-30 18:20:24 +00:00
matt 51bd91e1f7 Get rid of local TOOL_GZIP definition that now bsd.own.mk does it for us. 2011-06-30 18:17:11 +00:00
matt b4c4a0ac2c Add prototypes for lbc_* routines. 2011-06-30 04:45:38 +00:00
matt c2d496ba0e Add LSOR register 2011-06-30 04:45:04 +00:00
matt 125ea6a8c7 Unfinished (by far) NAND driver. 2011-06-30 04:44:26 +00:00
matt 7adff87bf3 Fix RCSID 2011-06-30 04:43:47 +00:00
matt 4a40b01453 Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
2011-06-30 00:52:55 +00:00
matt ebc746ad25 Move PMAP_* cache defines to before inclusion of <machine/pmap.h> 2011-06-30 00:49:14 +00:00
enami d281b75f90 Backout previous. May be I need more coffee. 2011-06-30 00:37:07 +00:00
enami 7a1a5c2e85 - Use << PAGE_SHIFT rather than calling round_page again.
- No need to call uao_dropswap_range() here since uao_dropswap()
  is already called for each pages by uvm_vnp_setsize().
2011-06-30 00:09:26 +00:00
matt 198d4bce95 Don't use TLB1 entries for device access if they are writethrough or not
cache-inhibited.
2011-06-29 23:15:55 +00:00
dholland 532c83a47a Add missing $NetBSD$ and/or __KERNEL_RCSID. 2011-06-29 21:53:10 +00:00
hannken ea8870b58b Remove dead uvm_vnp_zerorange() after bump to 5.99.54. 2011-06-29 19:51:12 +00:00
hannken 117bf62eb2 Make vnd(4) work on sparse files:
- Make the strategy decision a device flag and set VNF_USE_VN_RDWR for
  files known to be sparse.
- Change handle_with_rdwr() to use POSIX_FADV_NOREUSE advise to disable
  read ahead and keep the size of mapped pages below 1 MByte.

No objections on tech-kern@.
2011-06-29 09:12:42 +00:00
manu 1bb66616d8 Fix bug introduced in previous commuit: Do not vrele() a vnode we did not
obtained.
2011-06-29 08:01:14 +00:00
matt b042682f2f Add some config files for the P2020. 2011-06-29 06:23:36 +00:00
matt 2699f92cdb Add the new ci to cpu_infos *before* calling routines which may want to
cpu_lookup.
2011-06-29 06:22:21 +00:00
matt 459e142a08 Add some inital changes for the Freescale eSDHC. 2011-06-29 06:21:16 +00:00
matt d15a7b73fb Adapt to cpu_hatch_data changes 2011-06-29 06:13:08 +00:00
matt 4d00b9f7cd Use a private bus_space for freescale eSDHC controller (only allows
32 bit access).
2011-06-29 06:12:10 +00:00
matt 606d897e33 More MP support. 2011-06-29 06:06:04 +00:00
matt 9d61554964 Add an empty pmap_md_tlb_info_init. 2011-06-29 06:05:38 +00:00
matt 784a09c5b5 Add cpu_hatch and cpu_boot_secondary_cpus. 2011-06-29 06:03:52 +00:00
matt 02c5e60b97 Add VERBOSE_INITPPC flag 2011-06-29 06:02:43 +00:00
matt 599d43de9d Add some e500 MP prototypes. 2011-06-29 06:01:33 +00:00
matt 9dcc0b6f65 Declare cpu_hatch_data 2011-06-29 06:00:56 +00:00
matt 1543ad8fcb Cleanup hatch names.
Add cpuset_info.
2011-06-29 06:00:17 +00:00
matt e2c043f70d Add cpu_send_ipi stub 2011-06-29 05:57:30 +00:00
matt c35009adce Only attach tc on primary cpu. 2011-06-29 05:56:31 +00:00
matt d1a2071ebc Panic when an ipi is sent to unknown cpu. 2011-06-29 05:55:47 +00:00
matt b2c694f892 Multiprocessing fixes. 2011-06-29 05:53:44 +00:00
matt 3162fd7666 Some initial MULTIPROCESSOR spin code. Doesn't work yet. 2011-06-29 05:53:05 +00:00
matt bd38a7a8c6 Wildcard cpu* since the P2020 is dual core. 2011-06-29 05:51:56 +00:00