Commit Graph

1141 Commits

Author SHA1 Message Date
simonb
d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
ad
4a780c9ae2 Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
tsutsui
e5434d17a5 ANSIfy. 2007-12-29 17:54:41 +00:00
tsutsui
c3a9c74a16 ANSIfy and some KNF. 2007-12-29 16:54:49 +00:00
jmcneill
e38d794d0c libkern bits for usermode port. 2007-12-29 14:39:33 +00:00
perry
b6a2ef7569 Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
2007-12-25 18:33:32 +00:00
perry
970ad9314d Remove __attribute__((__noreturn__)) from things already marked __dead
Found by the department of redundancy department.
2007-12-24 15:46:45 +00:00
joerg
45f2572a92 Add virtual i8254 for x86emu. 2007-12-21 17:45:50 +00:00
joerg
151d068190 Add glue for x86emu and build it as part of i386/ALL. 2007-12-13 17:25:19 +00:00
tsutsui
2dc9b9cb28 ufs_ls.c doesn't belong to lfs. 2007-12-08 16:00:25 +00:00
isaki
48e1704028 Use standard error code (EIO) instead of standalone error code
(ESHORT).  Because loadfile_*() is used with or without
_STANDALONE, therefore, don't use error code in "saerrno.h".
Pointed out by and discussed with he@.
2007-12-03 09:51:30 +00:00
tsutsui
0a953ce07e - also pass correct size on dealloc() of in-memory superblock data
- also call dealloc() for group descriptor blocks
2007-12-02 06:47:43 +00:00
tsutsui
8d7676534f Allocate correct size for in-memory data struct m_ext2fs
(which is larger than SBSIZE).
2007-12-02 06:12:35 +00:00
tsutsui
48db0a5603 - fix description about index structure of an inode to match ext2fs_dinode
- put more byteswap ops on reading block numbers in indirect blocks
  (XXX: untested on big endian machines)
2007-12-02 05:23:40 +00:00
tsutsui
db898c555a unsigned -> unsigned int 2007-12-02 04:59:24 +00:00
tsutsui
d8fc666005 - build ext2fs.c
- put SRCS per each file system.
2007-12-01 18:11:02 +00:00
tsutsui
28712e0756 Add ext2fs support for libsa.
Mostly based on ufs.c, and some ext2fs specific stuff is pulled from
sys/ufs/ext2fs/ext2fs_bswap.c and sys/ufs/ext2fs/ext2fs_vfsops.c.

XXX1: Should we share ufs.c with #ifdef LIBSA_EXT2FS as ffs and lfs do?
XXX2: Maybe we should share ext2fs_bswap.c with kernel.
2007-12-01 18:06:22 +00:00
tsutsui
c3af9178e9 Use "uint" rather than "unsigned" without a type. 2007-12-01 17:44:16 +00:00
isaki
1c038e6834 style, indent, and ANSI-fy. 2007-11-24 13:20:53 +00:00
isaki
33469b0e28 loadfile_*() must set errno when it returns -1. 2007-11-23 04:32:14 +00:00
plunky
b83f9a6a6d remove insque/remque from libkern, they are no longer used 2007-11-22 22:56:16 +00:00
matt
1d4dffbc51 Make rb_tree_insert_node return true/false whether the node was inserted
or not.
2007-11-21 16:42:51 +00:00
yamt
c77d808475 build rb.c. 2007-11-20 13:49:01 +00:00
yamt
3acf687ede rename
RB_LEFT
	RB_RIGHT
	RB_OTHER
to
	RB_DIR_LEFT
	RB_DIR_RIGHT
	RB_DIR_OTHER
so that it can coexist with sys/tree.h.
2007-11-20 12:32:55 +00:00
yamt
636f153f4d fix compilation in the case of _KERNEL && DIAGNOSTIC && !RBDEBUG. 2007-11-20 08:30:05 +00:00
isaki
3a7a8e72de x68k's floppy is 8*2 sect/cyl, not 18*2 sect/cyl. 2007-11-11 13:23:07 +00:00
tsutsui
fe9146d494 Add an extern decl of try_bootp variable here since MD sources could set it. 2007-10-27 12:21:17 +00:00
tsutsui
03f68714d2 Include "bootp.h" for a function declaration of bootp(). 2007-10-27 12:19:41 +00:00
martin
db90818494 Make a few debug outputs only happen when debugging. 2007-10-01 13:15:06 +00:00
martin
aa444a36a0 When compiled with COMPAT_SOLARIS_UFS, always calculate fs_qbmask and
fs_qfmask on the fly. This allows libsa to read newer Solaris ufs
filesystems (which have a slightly incompatible superblock).
Suggested by Antti Kantee when discussing PR kern/37000.
2007-09-29 21:36:56 +00:00
pooka
018bb97124 Rename __assert() to __kernassert() so that it doesn't collide
with the libc version.  They take different arguments.
2007-09-24 14:19:03 +00:00
ad
7dcf597b04 Do the panicstr check only if _KERNEL. 2007-08-03 13:06:00 +00:00
ad
480f8d26c5 Disable kernel assertions if panicstr != NULL. 2007-07-29 11:46:02 +00:00
dsl
cb40f24fa8 include sys/cdefs.h 2007-07-19 22:00:04 +00:00
isaki
b9c5a4c699 Remove _ZLIB_PRIVATE that should have been removed 10 years ago. 2007-06-23 10:50:24 +00:00
ad
3f8edbdfd7 G/C dead code. 2007-06-10 00:52:29 +00:00
martin
cf9773f5c0 It is "data_start" not "data" - pointed out by Tom Spindler 2007-06-06 07:56:39 +00:00
martin
933b671bfa Add a MARK_DATA marker containing the effective VA of the first loaded
data segment.
2007-06-05 08:48:49 +00:00
matt
75f8d3f9a5 Include byte_swap_[24].c for kernels compiled with -O0 2007-04-13 22:12:04 +00:00
matt
e3a731cab5 Enable builtin_ffs for vax 2007-04-09 17:39:37 +00:00
scw
5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
uwe
eaa25d5966 Provide __movmemSI12_i4 (gcc4) a.k.a. __movstrSI12_i4 (gcc3) that gcc
emits for sh4 to copy 12 bytes at certain optimization levels.
Discovered by compiling landisk kernel with -Os.

Use gcc3 naming ("movstr") to match the rest of the "movstr" files.
2007-03-14 22:22:53 +00:00
he
fdcc1ff67a We need char* for pointer arithmetic. 2007-03-05 14:49:04 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
uwe
e918be7b93 Add missing newlines to debug messages. 2007-02-25 04:46:32 +00:00
thorpej
712239e366 Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 22:59:35 +00:00
ragge
ad9091c30f Repair copyright that has been broken since -94.
Gently requested by Otto Moerbeek.
2007-01-14 13:26:18 +00:00
yamt
ce9d4b0004 remove nqnfs from comments. from Arnaud Lacombe.
(no functional changes.)
2006-12-29 13:05:48 +00:00
chs
088fbfd7aa in fdloadfile(), fail if we can't read the entire exec header. 2006-12-09 22:11:36 +00:00
dogcow
437f8cc149 make bootxx_msdos fit in 8k again; thanks, __internal_memset_, for spilling
registers all over the place.
2006-12-02 00:38:22 +00:00