Commit Graph

114932 Commits

Author SHA1 Message Date
aymeric a55c504a2f always include dev/cons.c and dev/cninit.c
Problem reported by Guther Nikl on port-amiga
This follows what other ports do.
2003-07-14 15:53:46 +00:00
lukem 365cbd9428 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
lukem 9391907df1 add missing __RCSID() 2003-07-14 15:40:37 +00:00
lukem a62911e9d9 add missing __KERNEL_RCSID() and RCSID comment 2003-07-14 15:40:04 +00:00
lukem de043b8788 use __KERNEL_RCSID(0, instead of RCSID( in the kernel 2003-07-14 15:17:13 +00:00
lukem 09b3191490 add missing __KERNEL_RCSID() 2003-07-14 14:59:01 +00:00
itojun a157f97782 unifdef VMS/WIN16/WIN32 in public headers, at least 2003-07-14 14:06:14 +00:00
itojun df0916cac9 MDC2 is patented 2003-07-14 13:49:21 +00:00
itojun 435fb161c1 link against libcrypto_mdc2 2003-07-14 13:27:40 +00:00
itojun db0388a161 MDC2 is a patented algorithhm, so it is built conditionally 2003-07-14 13:26:30 +00:00
itojun c187ba994b use bounded string op (only one sprintf remains - still no clue) 2003-07-14 13:24:00 +00:00
itojun a395b35ba2 delint 2003-07-14 13:07:05 +00:00
itojun 848c8ac0ef use bounded string ops (especially libraries) 2003-07-14 13:05:19 +00:00
simonb 96df404b38 Use wrteei to disable interrupts; easier assembly and saves a temporary
variable.
2003-07-14 13:02:13 +00:00
simonb 0d42503562 Re-include "com.h" since we check NCOM in softserial(). Serial console
now works after properties rototill.
2003-07-14 12:59:36 +00:00
itojun fcfc71fca0 use strlcat 2003-07-14 12:37:13 +00:00
itojun ab3a8ded53 use bounded string op/asprintf 2003-07-14 12:02:00 +00:00
itojun 6d415bc4b0 use bounded string op 2003-07-14 11:54:06 +00:00
itojun 347022e133 use bounded string op - some remains 2003-07-14 11:52:24 +00:00
itojun 01a5c755ee use bounded string op, simplify by asprintf/strdup 2003-07-14 11:45:18 +00:00
tshiozak 0e0aa0868c use NONIDENTICAL instead of ILSEQ if the reverse conversion of ISO646.
(fix for lib/22135)
2003-07-14 11:37:49 +00:00
itojun 479f575456 use bounded string op 2003-07-14 11:36:48 +00:00
itojun 31d51579a3 get rid of strsave(), use strdup directly 2003-07-14 11:09:19 +00:00
dsl 6445d05466 Add explicit msg_string() call to MSG_hidden to stop core dump
when the password is set and the usename not ftp.
Whitespace changes.
2003-07-14 10:53:42 +00:00
dsl a2d5357066 Fix code that guesses bios geometry from mbr info.
When asking for bios geometry, ask for sectors per track and heads
then calculate cylinders from volume size.
Write MBR_MAGIC into correct place when writing extened partitions.
2003-07-14 09:59:00 +00:00
aymeric 2b846f3e47 . ANSIfy a bit more
. use the boot_entry_t type for the entry point

Makes ofwboot compile with -Wmissing-prototypes -Wstrict-prototypes, as
suggested by Chuck Silvers in a private e-mail.
2003-07-14 09:46:06 +00:00
itojun 3f02ac18b7 use bounded string op 2003-07-14 09:44:00 +00:00
aymeric db875b067a . prototype for main()
. typedef boot_entry_t to be the prototype of the kernel entry point
2003-07-14 09:42:58 +00:00
itojun d91f80a702 the function is equivalent to strdup. 2003-07-14 09:41:27 +00:00
itojun fe182b3802 use bounded string op 2003-07-14 09:40:26 +00:00
itojun 5d7783072e asprintf is safer. add error trap for malloc failure 2003-07-14 09:38:14 +00:00
itojun 2fe0488981 use bounded string op 2003-07-14 09:33:08 +00:00
dsl 02af72a142 Fix code that detects bios geometry from mbr table. 2003-07-14 09:32:12 +00:00
itojun 51a0035259 use bounded string op 2003-07-14 09:31:16 +00:00
itojun 6a949dc545 minor KNF 2003-07-14 09:30:52 +00:00
itojun eea9ee0720 asprintf is easier and safer 2003-07-14 09:29:21 +00:00
itojun 2777b2aa10 use bounded string op as much as possible 2003-07-14 09:25:37 +00:00
itojun 870f37306c use bounded string op 2003-07-14 09:24:00 +00:00
itojun a0e42b4568 strdup is easier 2003-07-14 09:22:17 +00:00
itojun 6086476ade use bounded string op 2003-07-14 09:21:03 +00:00
itojun 24c1ca6e35 use bounded string op as much as possible 2003-07-14 09:18:22 +00:00
itojun 99f12cfafe use bounded string op 2003-07-14 09:07:22 +00:00
tron af78980474 Remove file "rescue.unstripped" in "cleandir" target. 2003-07-14 09:00:33 +00:00
wiz 22c09256dd cpu -> CPU, from jmc@openbsd. 2003-07-14 08:58:57 +00:00
wiz 3013c9b400 cpu -> CPU. 2003-07-14 08:58:12 +00:00
wiz 95ad95491e Fix two minor whitespace problems. 2003-07-14 08:55:18 +00:00
itojun 2372fad140 use bounded string op as much as possible 2003-07-14 08:43:19 +00:00
itojun 47a6a58fe5 use bounded string op 2003-07-14 08:36:34 +00:00
itojun 7b8c272d80 be friendly to unifdef(1) 2003-07-14 08:36:27 +00:00
jmmv 3300ba59da Regen (+ ATI Radeon 9200) 2003-07-14 08:01:45 +00:00