Commit Graph

114909 Commits

Author SHA1 Message Date
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
jmmv 1f969857d8 Add ATI Radeon 9200 chip. 2003-07-14 08:00:43 +00:00
pk 40643e2443 The source register field was missing from the `i_loadstore' format.
From Jason Wright (openbsd) in private communication.
2003-07-14 06:53:44 +00:00
wiz 2faa66cee3 regen (+MGA G550). 2003-07-14 06:52:40 +00:00
wiz e14b9ced59 Add MGA G550, from Kouichirou Hiratsuka in PR 22133. 2003-07-14 06:51:57 +00:00
itojun 49a751869e use bounded string op as much as possible 2003-07-14 06:17:54 +00:00
itojun 5402d14cf4 use boundedd string ops 2003-07-14 06:08:04 +00:00
tshiozak 99831f71fd set OOB_MODE to INVALID for the UCS -> any converters. 2003-07-14 06:03:36 +00:00
itojun 041bd7648a use bounded string op as much as possible 2003-07-14 06:00:44 +00:00
itojun 97a29a12a2 use bounded string ops (one strcpy remaining) 2003-07-14 05:55:38 +00:00
simonb 649e4ff2d5 Check return value of prop_get() correctly; serial ports now attach on
a walnut, but don't seem to accept input(?!).
2003-07-14 05:21:25 +00:00
lukem 8e7657a643 Be consistent with other bsd.*.mk, and pull in <bsd.init.mk> at the
start (which pulls in <bsd.own.mk>), and <bsd.obj.mk> and <bsd.sys.mk>
at the end.  These provide the appropriate settings for TOOL_* .
2003-07-14 00:52:12 +00:00
lukem d72803be72 Pull in <bsd.sys.mk> to provide the defaults for TOOL_* when USETOOLS=never 2003-07-14 00:50:04 +00:00
lukem f0dafe0c0e use full path in default TOOL_MAKEWHATIS 2003-07-14 00:41:17 +00:00
dsl a99fe675ab Change back to print hex bytes. The 'word' print was completely broken
on little endian systems.  It is also much easier to read misaligned
words in a straight byte hexdump.
Cut offset to 3 hex digits so that it fixs in 80 columns and still
leaves a tab at the start of 'continuation' lines.
The ktrace buffer is limited to 4k, so 3 digits is ample.
2003-07-13 18:54:29 +00:00
he ac678f8de2 On some ports, pointer differences are not ints, so do a cast
before using such a result as a field width.
2003-07-13 15:19:39 +00:00
itojun 2a470e2847 use bounded string op 2003-07-13 14:06:06 +00:00
itojun 63b4a66b0f strlcpy is prototyped in string.h 2003-07-13 14:02:23 +00:00
itojun 1d06004879 use strlcpy 2003-07-13 13:54:02 +00:00
itojun b98c10dfbb strdup is simpler 2003-07-13 12:40:17 +00:00
itojun 9e765fb451 use bounded string op 2003-07-13 12:39:08 +00:00
itojun e8f0e61fd7 use bounded string op 2003-07-13 12:29:20 +00:00
itojun d0a2aaaa79 use bounded string ops 2003-07-13 12:27:14 +00:00
itojun 7bb0ef551c use bounded string op 2003-07-13 12:18:55 +00:00