Commit Graph

234256 Commits

Author SHA1 Message Date
riastradh 6bcaafafa3 Be a little more consistent about nulls. 2015-03-30 13:35:50 +00:00
riastradh a6a845b4eb Use Fn to mark up a function call. 2015-03-30 13:26:55 +00:00
riastradh 808424fb3e Nested I/O transfers are not `asynchronous'. 2015-03-30 13:22:12 +00:00
riastradh b2d5d8d78a Consistently use `.Vt "struct buf"' to name the type. 2015-03-30 13:18:08 +00:00
riastradh e90024bf9f Note reusing bufs requires clearing BO_DONE. 2015-03-30 13:17:14 +00:00
riastradh ba2aeff9b2 Correct documentation of asynchronous/callback buffer I/O.
Asynchronous is not the same as callback: asynchronous means there is
no completion notification, and can be used only with buffer-cached
buffers.
2015-03-30 13:10:04 +00:00
skrll 99e82b4801 Whitespace 2015-03-30 11:55:00 +00:00
skrll 94a1c6fae2 Replace an if () panic with KASSERT 2015-03-30 11:54:43 +00:00
wiz 51864d68ed Bump date for previous.
it's -> its
2015-03-30 11:01:53 +00:00
chopps 94dff34741 Add resize_root boot operation. If resize_root=YES in rc.conf then
the system attempts to resize the root file system to fill it's
partition prior to mounting read-write. Useful for things like AMI
file system images. May eventually be used by arm images after
coming up with similar solution for increasing the parition size.
2015-03-30 10:58:37 +00:00
matt c15a5b6aaa #include <sys/pcu.h> 2015-03-30 05:43:55 +00:00
matt 177859160c note change to workaround bug in clang's arm integrated assembler. 2015-03-30 05:30:08 +00:00
matt bd66e9fd02 Add workaround/hack for clang integrated arm assembler bug. 2015-03-30 05:26:47 +00:00
ozaki-r f35c2148c2 Tidy up opt_ipsec.h inclusions 2015-03-30 04:25:26 +00:00
ozaki-r 48b3acd885 Tidy up opt_ipsec.h inclusions
Some inclusions of opt_ipsec.h were for IPSEC_NAT_T and are now unnecessary.
Add inclusions to some C files for IPSEC_DEBUG.
2015-03-30 03:51:50 +00:00
ozaki-r 32be705817 Include ip6.h for ip6_hdr 2015-03-30 02:23:21 +00:00
riastradh c57b4b0b32 Remove obsolete cprng_strong_getflags/setflags(9) man page links.
XXX pullup-7
2015-03-30 01:25:36 +00:00
riastradh fc8e6f8285 Hook bufferio(9) man page into the build.
Remove separate getiobuf(9) man page, subsumed by bufferio(9).
2015-03-30 01:15:15 +00:00
riastradh bc9959754c Hook up the new wapbl(9) man page. 2015-03-30 00:44:37 +00:00
matt 396eed6727 No need to use -fno-integrated-assembler with clang 2015-03-29 23:35:08 +00:00
jmcneill d52192759c Use shared armv7_generic_space 2015-03-29 22:49:44 +00:00
jmcneill c154fb0a46 Use shared armv7_generic_space 2015-03-29 22:27:04 +00:00
jmcneill 1a2450dd29 Shared armv7 bus space implementation. 2015-03-29 22:26:18 +00:00
jmcneill 8588c5e96f hey there's a README here! add ALLWINNER_A80, BPI, CUBIEBOARD, CUBIETRUCK, HUMMINGBIRD_A31, JETSONTK1, ODROID-C1, ROCKCHIP configs 2015-03-29 21:11:17 +00:00
riastradh 7643fefe1a Mention B_WRITE. 2015-03-29 21:08:36 +00:00
riastradh 5bd51b95d7 Remove \& from example code. Cargo-culted from I forget where. 2015-03-29 21:08:08 +00:00
riastradh 7cfc1b80d8 Use `Ap s' instead of `No 's', per signal from wizd. 2015-03-29 21:06:26 +00:00
riastradh d05efdd692 Clarify that getiobuf must be paired with putiobuf, not brelse. 2015-03-29 21:05:21 +00:00
riastradh a9b7070f73 Cull some obsolete parts of buffercache(9) man page. 2015-03-29 21:02:06 +00:00
riastradh 1098217eb7 New man page bufferio(9) for I/O transfer view of struct buf.
Move biowait/biodone from buffercache(9) man page.
2015-03-29 20:56:01 +00:00
wiz 5a1645e4da New sentence, new line. Sort option descriptions. 2015-03-29 19:42:15 +00:00
chopps 3fe0ea9c96 - Add new tests for -c check flag in resize_ffs 2015-03-29 19:37:02 +00:00
chopps f89312b935 - Fix fallout for recent bread() change (removing cred arg). 2015-03-29 19:35:58 +00:00
chopps ae3fcf098a - Add -c to check to see if grow/shrink is required
- Divide by DEV_BSIZE when returning size of file.
- Update manpage
2015-03-29 19:33:55 +00:00
riastradh 353f549b36 Back this out, per pooka's request. 2015-03-29 17:38:31 +00:00
riastradh fb59c30429 Use #ifdef _RUMPKERNEL for now to prefer copyout over kcopy in tests.
Gross -- please fix me if you have a better approach.
2015-03-29 15:08:03 +00:00
riastradh a1afb93b8e Back out previous.
It appears to be causing anita install to fail.  Evidently
VM_SPACE_IS_KERNEL_P(vm) is not mutually exclusive with `vm ==
curproc->p_vmspace' -- in particular, proc0's VM space is kernel.

Making this work in rump for tests will require another approach.
2015-03-29 15:05:34 +00:00
riastradh cec9a597e4 WAPBL tx is always locked by ufs_bufrd caller, so never unlock it. 2015-03-29 14:39:41 +00:00
riastradh 067afa9103 Complete removal of cred argument from bread in nilfs. 2015-03-29 14:12:28 +00:00
ozaki-r 6fc3840288 Correct frame padding length
vlan pads a frame with zeros up to 68 bytes
(ETHER_MIN_LEN + ETHER_VLAN_ENCAP_LEN). It expects
that even if the frame is untagged, it keeps 64 bytes
at least. However, it lacks concern about CRC
(4 bytes). So a sending frame can be 72 (68 + 4) bytes.

PR 49788
2015-03-29 13:30:43 +00:00
macallan c593056617 use 32bit __cpuset_t in o32 kernels
ok matt@
2015-03-29 12:00:02 +00:00
jmcneill 7629fee564 no need to set arm_cpu_max here, it is done in soc specific code 2015-03-29 10:55:11 +00:00
jmcneill d636c71918 bump max sources to 256 2015-03-29 10:44:54 +00:00
jmcneill d4fd11438d NVIDIA Tegra K1 support, work in progress. 2015-03-29 10:41:59 +00:00
matt 20d53a3c24 If using TPIDRPRW_IS_CURLWP and !MP and ARMV7, use movw/movt to load address
of cpu_info_store
2015-03-29 09:49:54 +00:00
matt abe20dbdbd cache pmap in vmapbuf. 2015-03-29 09:47:48 +00:00
matt 7eca982344 Use C11 atomic builtins instead of __asm. 2015-03-29 09:43:26 +00:00
agc aa7e0e4b83 Make the userland signature and uses of bread() match the kernel ones,
after the removal of the cred argument.
2015-03-29 05:52:59 +00:00
matt 11b22aab18 Make gcc emit the CPP macros for integer types. 2015-03-29 00:42:51 +00:00
matt 1380094dbb add return_one_start 2015-03-29 00:38:36 +00:00