Commit Graph

108221 Commits

Author SHA1 Message Date
dsl 2d1837c8fc KNR, removing ugly 'unsigned' variables.
Probably should be size_t, but now matched prototype.
(mainly agreed with christos - he wanted size_t....)
2003-02-01 14:57:02 +00:00
dsl 912fab6ec9 Beautify a little 2003-02-01 14:54:22 +00:00
dsl 2c4edf02a4 Save some space
(agreed by christos)
2003-02-01 14:53:38 +00:00
dsl 3080e19ff3 Support limited filename globbing
- agreed by christos
2003-02-01 14:52:13 +00:00
dsl 81acacd723 Change all .S files to use .code16 and .code32
Support 32bit addresses >64k as valid on bios calls.
Move stack for dosboot and biosboot to >64 so stack doesn't hit data.
Use disk sector number passed by mbr code to select default partition
(the mbr code doesn't do this yet).
NB only biosboot and dosboot have been tested so far.
(changes approved by christos and fvdl)
2003-02-01 14:48:16 +00:00
zuntum 6d1101369a - bump MEMORY_DISK_ROOT_SIZE from 2920 to 2960
in sys/arch/i386/conf/INSTALL_TINY
- bump IMAGESIZE from 1460k to 1480k
  in distrib/i386/floppies/ramdisk-tiny/Makefile

so that "build.sh release" works again.

Suggested by simon, okay'd by luke.
2003-02-01 13:53:36 +00:00
pooka 6181a88028 leftovers from arm32 split:
Xarm32VIDC is built only on acorn32 so kill it from here
2003-02-01 13:23:57 +00:00
martin 7ab127868a Clenup malloc signature change fallout. 2003-02-01 13:23:28 +00:00
wiz 6c3d6d7f8f Typo fix. 2003-02-01 12:52:49 +00:00
mrg bf26b4d9e4 in devsw_name2blk(), as we use strncmp(), make sure the next character
in the device is either nul or a digit.  this avoids "raid0" being
matched as the "ra" device (and thus failing to find anything at all
causing my raid0 root to fail) on my vax.
2003-02-01 11:12:35 +00:00
jdolecek 16ebe50674 slightly adjust to clarify handling of zero time (tv_sec == tv_usec == 0)
- itimerfix() leaves the time as zero in this case, doesn't adjust to one tick

also use 'one tick' rather than mere 'tick' in first paragraph
2003-02-01 10:43:20 +00:00
martin 5cbc65eab2 Remove a few #ifdef _LP64 by using STPTR/LDPTR macros.
Thanks to Matthew Green for the pointer.
2003-02-01 09:31:23 +00:00
martin 912ab5ad59 Check how the compiler expects the return value of this function
by testing SOFTFLOATSPARC64_FOR_GCC.

Should fix PR port-sparc64/20140.
2003-02-01 09:19:58 +00:00
ichiro 913634c3a8 add product IO-DATA CBET100-CL 10/100 Ethernet
(OEM AboCom FE2000VX )
2003-02-01 07:50:38 +00:00
ichiro 7f5a6ef120 regen 2003-02-01 07:50:06 +00:00
ichiro c349475c5f add product IO-DATA CBET100-CL 10/100 Ethernet
(OEM AboCom FE2000VX )
2003-02-01 07:49:33 +00:00
atatat df8c6eff19 Check for (and deny) negative values passed to FIOGETBMAP. 2003-02-01 07:23:56 +00:00
ichiro 1676e10b16 make compile 2003-02-01 06:50:42 +00:00
thorpej a73c169fe9 Note extensible kernel malloc types. 2003-02-01 06:42:13 +00:00
thorpej de04c9ff00 Add new malloc(9)-related pages. 2003-02-01 06:37:54 +00:00
thorpej b9cc9e6f27 Add <sys/mallocvar.h> 2003-02-01 06:32:10 +00:00
thorpej c9b2749b7c Update for extensible malloc types. 2003-02-01 06:29:14 +00:00
thorpej 09d0041ce2 Update for extensibe malloc types. 2003-02-01 06:27:23 +00:00
thorpej 9df2a1b394 Bump version to 1.6N; extensible malloc types. 2003-02-01 06:26:30 +00:00
thorpej b193480908 Add extensible malloc types, adapted from FreeBSD. This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
2003-02-01 06:23:35 +00:00
tsutsui e2c139ba9f Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.

BTW, should we also add "-mmemcpy" here to reduce code size?
2003-02-01 05:03:42 +00:00
tsutsui 31fb061b05 Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.
2003-02-01 05:00:17 +00:00
nathanw 34c915eb3d Revert the conversion to libpthread's recursive mutexes. Too much
trouble is caused by the memory allocation in the mutex initialization,
and uncontested mutexes and condition variables have become faster in the
meantime.
2003-02-01 03:25:00 +00:00
nathanw 947e41dfa9 Arrange to pause for a while if pthread_cond_wait() or
pthread_cond_timedwait() is called before any threads have been
created and the SA infrastructure is up and running.

Addresses PR lib/20139.

XXX probably need to do this for all of the pthread_*_timedlock()
functions, too.
2003-02-01 00:57:31 +00:00
kleink b971350427 Add several missing items, and be less rageous about memory locking. 2003-02-01 00:42:03 +00:00
thomas 5d2b072ae0 Define Atari keyboard type. 2003-01-31 23:32:21 +00:00
thomas 59b8b56225 Define Atari wskeyboard type. 2003-01-31 23:28:30 +00:00
martin 3b0f844b5d Apply leaf procedure optimization to pseg_set (again). 2003-01-31 22:19:33 +00:00
tsutsui 0566c52cec Note VGA console support for NEC-J96A and NEC-R96 on arc port. 2003-01-31 22:18:04 +00:00
tsutsui 3fb3009a83 Enable vga0 at isa?, and add options VGA_RESET and
(commented out) options VGA_RASTERCONSOLE for NEC-J96A and NEC-R96.
2003-01-31 22:11:20 +00:00
tsutsui f9f27acbe7 Add c_nec_eisa_cons_init() for NEC-J96A and NEC-R96 which have
Cirrus Logic GD5428 ISA VGA console to initialize its registers properly
for generic vga(4) driver(s).
2003-01-31 22:07:52 +00:00
jdolecek 6034a0fc70 use right function name in HISOTRY, this is not _lwp_create(2) 2003-01-31 22:06:45 +00:00
tsutsui 3061b2304e Call vga_isa_cnattach() in c_jazz_eisa_cons_init() if NVGA_ISA > 0. 2003-01-31 22:01:13 +00:00
tsutsui ef47e3f676 Changes to allow machines which don't use text mode at the boot time
to use generic VGA driver(s):
- Allow VGA drivers to use wsfont instead of builtin font.
- Add vga_reset() function, which will be called from MD consinit(),
  to put VGA into text mode. This function is enabled by options VGA_RESET.
2003-01-31 21:57:23 +00:00
uwe 4eb408dcd9 Avoid cgetcap &co prototypes conflicting with those provided by the host.
With this change we can cross-compile on FreeBSD 4.x.
2003-01-31 20:50:29 +00:00
skrll 5adf511512 Add a test for kernel preemption during a large uiomove.
Per discussion with Jason.
2003-01-31 20:14:25 +00:00
martin 1ecf66db9f Make the pmap count resident/wired mappings on the fly instead of
walking the page tables whenever this information is needed.

Add an option PMAP_COUNT_DEBUG to assert the new counts and the
page table walk agree.

The old solution had very bad performance impact, for example
by the high CPU load when running top(1).

Thanks to Simon Burge for pointing at the cause of the problem and
to Valeriy E. Ushakov for optimizing my simple minded assembler code.
2003-01-31 19:05:55 +00:00
pk 8f4478d022 lance_init(): explicitly clearing the `initialisation done' bit in the
status register triggers an interrupt which we don't handle.  Since the
driver doesn't depend on this status bit anywhere else, just leave it alone.
2003-01-31 17:40:05 +00:00
fvdl c17467b083 Wrap 'old BSD id' warning in DEBUG ifdef. 2003-01-31 15:35:04 +00:00
wiz 69ffc10a99 Switch soft and hard, per PR 20135. 2003-01-31 12:53:32 +00:00
tron 8cf036775b Add a missing bracket to make this compile. 2003-01-31 12:27:19 +00:00
pk 453f6b99a3 Include <sys/types.h>
Remove v9 register defs.
2003-01-31 12:06:27 +00:00
kleink 0592d14111 Provide _XOPEN_SHM. 2003-01-31 11:54:48 +00:00
lukem 2c589141ff Implement start_cmd as:
start_cmd="${name} "'${rc_arg}'
and stop_cmd & reload_cmd as:
	stop_cmd=$start_cmd
	reload_cmd=$start_cmd
(Just to be tricky)
2003-01-31 06:47:16 +00:00
thorpej 12eeed2f38 Use aprint_*(). 2003-01-31 05:25:57 +00:00