Commit Graph

152816 Commits

Author SHA1 Message Date
rillig
5968766094 open(2) can fail with EPERM. 2006-10-23 14:04:05 +00:00
yamt
5239dc5a67 qc_init: fix a problem introduced by rev.1.13.
namely, use quantum-size alignment rather than no alignment.
PR/34879 from Peter Postma.
2006-10-23 13:36:33 +00:00
pooka
e4ae558e9d fix print in VOP_PRINT
also make it compile on amd64.  problem noticed by Blair Sadewitz
on current-users
2006-10-23 12:21:39 +00:00
pooka
9739aee84d apply const where necessary 2006-10-23 12:11:47 +00:00
elad
c2da5d160e PR/34873: Ryo Shimizu: sendmsg() can cause kernel panic
Patch applied, thanks!
2006-10-23 10:37:22 +00:00
mrg
e1850e2121 regenerate mknative-gcc files for GCC 4.1-20061021. 2006-10-23 07:01:19 +00:00
kiyohara
6920dbe4f2 Define BASE_ISA macro for ISA window base address (where pckbc, com, lpt live)
instead of hardcoding the constant or (even before) using BASE_COM.
2006-10-23 06:49:17 +00:00
mrg
dbdbfa2c22 since register_t is sometimes unsigned, cast to (long) to check >= 0. 2006-10-23 04:13:51 +00:00
mrg
7d429c305a use c99 initialisers. 2006-10-23 03:56:38 +00:00
pooka
27168fd0cc llib-puffs.ln 2006-10-23 03:23:53 +00:00
pooka
599a6bbb6c libpuffs_pic.a 2006-10-23 03:21:21 +00:00
mrg
6bb0c03185 use casts to properly truncate some assignments. (sparc64 gcc complained.) 2006-10-23 03:18:30 +00:00
christos
d6a795f6a8 put back the comparison in a lint friendly way to appease pooka. 2006-10-23 03:13:13 +00:00
dogcow
acba3dfe4b comment out comparison of unsigned expression to >= 0 2006-10-23 03:11:53 +00:00
christos
7ef97c92be use portable prints 2006-10-23 03:10:09 +00:00
pooka
594365ca6f puffs integration 2006-10-23 01:54:54 +00:00
pooka
718426155f still check for array bounds, fix off-by-one 2006-10-23 01:36:13 +00:00
christos
bc7a8f1f3d fix a lint warning. 2006-10-23 01:23:42 +00:00
pooka
69fe36da66 dtfs (*): a very simple in-memory file system providing an example on
how to use libpuffs

this is not installed into the binary distribution just yet

*) you can call it either "Delectable Test File System" or
"Detrempe File System", depending on what you think will result
in more puffing
2006-10-23 00:44:53 +00:00
christos
b6f6a56052 pass lint; fix install. 2006-10-23 00:22:24 +00:00
rjs
4b90889ec6 Regen. 2006-10-23 00:21:27 +00:00
rjs
e3925c8d0b Add Motorola MPC5200B host bridge. 2006-10-23 00:20:06 +00:00
christos
39a6c2fdf2 allow 0 sized structs in c9x 2006-10-23 00:15:58 +00:00
christos
5ffa3fb1be add zero sized array handling. It is a little too chatty now. 2006-10-23 00:10:29 +00:00
christos
25dc0b1687 add tests for zero sized arrays. 2006-10-23 00:09:37 +00:00
christos
d9b2ba3ddf use HOST_SH since make might not fork a shell for a simple command. 2006-10-23 00:08:54 +00:00
bjh21
8bb452f337 sec(4). 2006-10-22 23:52:19 +00:00
dogcow
8f7efdd62a add the .include <bsd.own.mk>, so .d and .o files don't end up in the CWD.
remove INCDIR=/usr/include, as my leenooks system doesn't have puffs .h files.
2006-10-22 23:51:37 +00:00
bjh21
c0f3f368d9 Document a couple of significant changes in 4.0. This should perhaps go
in "upgrade" rather than "whatis", but I'm not sure.
2006-10-22 23:49:37 +00:00
mrg
8d4305f309 regenerate mknative-gcc fies for GCC 4.1-20061021.
(some of these are not 100% tested yet, but they are have the
right changes as the tested platforms.)
2006-10-22 23:27:23 +00:00
pooka
de328e13dc regen for puffs
(and a few others.  seems like plenty of people remember to do this)
2006-10-22 23:03:48 +00:00
pooka
c1b5a38fea add puffs device, but I didn't add it to MAKEDEV all on purpose
just quite yet, too experimental
2006-10-22 23:02:08 +00:00
pooka
298096d245 puffs headers & libs 2006-10-22 22:57:36 +00:00
pooka
9d92bd9b4c "teach" about VT_PUFFS 2006-10-22 22:56:26 +00:00
pooka
bcb1fccca0 libpuffs 2006-10-22 22:53:41 +00:00
pooka
1635cf06bc add libpuffs - the userspace programming interface for puffs
This work was initially started and completed for Google SoC 2005
and tweaked to work a bit better in the past few weeks.  While
being far from complete, it is functional enough to be able and
stable to host a fairly general-purpose in-memory file system in
userspace.  Even so, puffs should be considered experimental and
no binary compatibility for interfaces or crash-freedom or zero
security implications should be relied upon just yet.

The GSoC project was mentored by William Studenmund and the final
review for the code was done by Christos.
2006-10-22 22:52:21 +00:00
pooka
17015342cb * add MOUNT_PUFFS
* add macro VFS_PROTOS(fsname), which generates file system vfs prototypes
2006-10-22 22:50:10 +00:00
pooka
7ad65999e3 add VT_PUFFS 2006-10-22 22:49:38 +00:00
pooka
bbceff78e8 add fs/puffs 2006-10-22 22:44:44 +00:00
pooka
ce9afaf2f9 grab device number for puffs 2006-10-22 22:44:32 +00:00
pooka
8640fbb580 kernel portion of puffs - the Pass-to-Userspace Framework File System.
It contains the VFS attachment and userspace message-passing interface.

This work was initially started and completed for Google SoC 2005
and tweaked to work a bit better in the past few weeks.  While
being far from complete, it is functional enough to be able and
stable to host a fairly general-purpose in-memory file system in
userspace.  Even so, puffs should be considered experimental and
no binary compatibility for interfaces or crash-freedom or zero
security implications should be relied upon just yet.

The GSoC project was mentored by William Studenmund and the final
review for the code was done by Christos.
2006-10-22 22:43:23 +00:00
christos
f0762ecc01 Include bsd.sys.mk so that HOST_SH is defined. (Hi apb) 2006-10-22 22:22:39 +00:00
christos
e9a36b93da Add -Wextra -Wno-unused-parameter to WARNS > 2 2006-10-22 22:17:30 +00:00
christos
896545c86a shave 32 bytes. 2006-10-22 21:57:55 +00:00
christos
f9c9a8e383 it is not called kcore anymore. 2006-10-22 21:34:42 +00:00
tls
9e6fbdecd0 For GDB, note the necessity of testing target kcore and options KGDB. 2006-10-22 21:26:54 +00:00
christos
9881dfaad3 c99 initializer 2006-10-22 21:24:44 +00:00
christos
f6a7372b60 use c99 initializers 2006-10-22 21:09:47 +00:00
jmmv
f584c9cef6 Forgot to remove non-applicable *VERBOSE options. 2006-10-22 21:08:48 +00:00
hauke
09aee34e95 Add Hauke Fath 2006-10-22 21:08:27 +00:00