DragonFly BSD

CVS log for src/sys/sys/types.h

[BACK] Up to [DragonFly] / src / sys / sys

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Aug 10 22:09:51 2008 UTC (5 years, 8 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +0 -1 lines
Remove daddr_t dependancies in the swap code.  Move swblk_t and add
u_swblk_t.  This causes the swap code to properly use 32 bit block numbers
across all architectures (which gives us swap in the terrabyte range).

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jun 19 12:23:51 2008 UTC (5 years, 10 months ago) by hasso
Branches: MAIN
CVS tags: DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_Preview
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -1 lines
Change suseconds_t to long as it is in most of systems. Fixes a lot of
printf related warnings everywhere.

Noticed-by: swildner@

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jun 18 09:36:07 2008 UTC (5 years, 10 months ago) by hasso
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -0 lines
Move timeval struct into its own header and include it from headers where
needed or defined by standards plus from sys/types.h. This makes several
pkgsrc packages more happy.

Including just sys/types.h to use struct timeval works there in every BSD,
Linux and Solaris, so we can't just ignore it.

Also make struct timeval standards compilant in progress.

Inspired-by: FreeBSD

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed May 28 10:37:25 2008 UTC (5 years, 10 months ago) by corecode
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -0 lines
Include sys/fd_set.h in the BSD_VISIBLE case.

Seems that a lot of software assumes that fd_set will be defined after
including sys/types.h, so restore this property.

Noted-by:  hasso@

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon May 19 10:19:49 2008 UTC (5 years, 11 months ago) by corecode
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -6 lines
Don't #include <sys/select.h> from sys/types.h, to conform to SUS.

Some old BSD programs assume that sys/types.h is basically enough
to get all types and even functions declared, so adjust these.
sys/param.h still works as kitchensink and includes sys/select.h.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun May 11 03:39:49 2008 UTC (5 years, 11 months ago) by hasso
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -0 lines
Add useconds_t and suseconds_t used for time in microseconds.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Apr 29 06:05:02 2007 UTC (6 years, 11 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -1 lines
Use the __boolean_t defined in machine/stdint.h instead of the
boolean_t from sys/types.h, which doesn't work from userland unless
sys/user.h is carefully positioned.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Dec 5 23:14:55 2006 UTC (7 years, 4 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -0 lines
For the moment conditionally remove the declaration of certain libc
functions when compiling with _KERNEL_VIRTUAL to avoid conflicts with
replicas in the kernel code.  This allows the virtual kernel source to
include standard libc header files.

Define _KERNEL_VIRTUAL in machine/vkernel/conf/kern.mk.

Begin fleshing out the virtual kernel init sequence.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Sep 10 01:26:40 2006 UTC (7 years, 7 months ago) by dillon
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -4 lines
Change the kernel dev_t, representing a pointer to a specinfo structure,
to cdev_t.  Change struct specinfo to struct cdev.  The name 'cdev' was taken
from FreeBSD.  Remove the dev_t shim for the kernel.

This commit generally removes the overloading of 'dev_t' between userland and
the kernel.

Also fix a bug in libkvm where a kernel dev_t (now cdev_t) was not being
properly converted to a userland dev_t.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Sep 9 19:07:29 2006 UTC (7 years, 7 months ago) by dillon
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2 lines
Rename struct specinfo into struct cdev.  Add a new typedef 'cdev_t' for cdev
pointers.  Temporarily retain dev_t for cdev pointers until the kernel can
be converted over to cdev_t.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jun 10 20:00:17 2006 UTC (7 years, 10 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -28 lines
Move selinfo stuff to the separate header sys/selinfo.h.  Make sys/select.h
POSIX compatible.

Note: Modifications from the original patch.  For the moment maintain
compatibility with BSD manual pages by ensuring that the prototype for
the select() function is declared in both sys/select.h and unistd.h.

Submitted-by: Alexey Slynko <slynko@tronet.ru>

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun May 21 03:43:47 2006 UTC (7 years, 11 months ago) by dillon
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +23 -2 lines
Clean up more #include files.  Create an internal __boolean_t so two or
three sys/ header files don't have to juggle the type.  Use
_KERNEL_STRUCTURES in variuos pieces of user code that delve into kvm.

Reported-by: Rumko <rumcic@gmail.com>, walt <wa1ter@myrealbox.com>

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Apr 3 02:02:30 2006 UTC (8 years ago) by dillon
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +0 -1 lines
A number of structures related to UFS and QUOTAS have changed name.

dinode -> ufs1_dinode
dqblk -> ufs_dqblk (and other quota related structures)

In addition, a large number of UFS related structures and procedures have
been prefixed with 'ufs_' to allow us to split off EXT2FS.

ufs_daddr_t has been moved out of sys/types.h and into vfs/ufs/dinode.h.

The #ifndef header file checks for UFS have been normalized.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Aug 2 13:03:55 2005 UTC (8 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1 lines
Make nlink_t 32bit and ino_t 64bit. Implement the old syscall numbers
for *stat by wrapping the new syscalls and truncation of the values.
Add a hack for boot2 to keep ino_t 32bit, otherwise we would have to
link the 64bit math code in and that would most likely overflow boot2.
Bump libc major to annotate changed ABI and work around a problem with
strip during installworld. strip is dynamically linked and doesn't play
well with the new libc otherwise.

Support for 64bit inode numbers is still incomplete, because the dirent
limited to 32bit. The checks for nlink_t have to be redone too.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jun 3 11:07:34 2005 UTC (8 years, 10 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -0 lines
Add id_t, a general identifier type, per IEEE Std 1003.1, 2004 Edition.
It should be able to hold a gid_t/pid_t/uid_t.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jun 3 09:45:53 2005 UTC (8 years, 10 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -0 lines
Add blkcnt_t and blksize_t per IEEE Std 1003.1, 2004 Edition.

I do not understand why both FreeBSD and NetBSD use an unsigned integer,
when the specification clearly states an signed integer should be used.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jun 3 09:17:36 2005 UTC (8 years, 10 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -0 lines
Add fsblkcnt_t and fsfilcnt_t.
Part of IEEE Std 1003.1, 2004 Edition.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat May 7 08:23:51 2005 UTC (8 years, 11 months ago) by davidxu
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -0 lines
Define type lwpid_t, it will be used for thread debugger code.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Nov 15 19:28:42 2003 UTC (10 years, 5 months ago) by asmodai
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -12 lines
Change wrapping definition from ending in DECLARED_ to DECLARED.
This makes it consistent with other definitions and has as added bonus that
rpm compiles again.
Furthermore it keeps us synchronised to FreeBSD 5.x.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Nov 9 02:22:37 2003 UTC (10 years, 5 months ago) by dillon
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +40 -45 lines
Core integer types header file reorganization stage 1/2: Create and/or modify
intttypes.h and stdint.h plus the opaque underlying support in sys/ and
machine/ according to the OpenGroup specifications.

These changes are loosely based on FreeBSD-5 but use far saner type names
and include dependancies.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 20 07:31:22 2003 UTC (10 years, 8 months ago) by rob
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
__P() != wanted, begin removal, in order to preserve white space this needs
to be done by hand, as I accidently killed a source tree that I had gotten
this far on. I'm committing this now, LINT and GENERIC both build with
these changes, there are many more to come.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Aug 11 06:17:37 2003 UTC (10 years, 8 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Change __volatile and __const into volatile and const.
We expect the compiler to compile DragonFly to support C90 at minimum.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:28:59 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
CVS tags: PRE_MP
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -0 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:55:53 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.40.2.2

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options