Commit Graph

35972 Commits

Author SHA1 Message Date
nakayama
0f9cf6ed8d Fix typo in comment. 2003-07-17 07:56:46 +00:00
is
2ae40f99a0 pass source file name to gpsa, so that gspa could (in theory) embed the
used filename in the output.
2003-07-16 20:07:12 +00:00
is
02963a4af5 Update comments. 2003-07-16 19:58:59 +00:00
pk
b73c3ad58a viking_getmid(): don't try to read MXCC registers on non-MXCC machines.
cpu_attach(): if `bootmid' could not be determined early set it to the MID
of the first attaching CPU.
2003-07-16 08:08:22 +00:00
simonb
16f1ab81b5 Correct a comment. 2003-07-16 08:06:10 +00:00
he
672a3f174d Use "${COMPILE.c}" instead of "$(CC) -c", so as to pick up the correct
include files when cross-compiling.
2003-07-16 07:25:51 +00:00
simonb
d854b5c002 SZ_BOARD_CFG_DATA is not used anywhere, remove it. 2003-07-16 03:52:31 +00:00
simonb
9b0c94bec0 Only need to call consinit() once... 2003-07-16 01:00:33 +00:00
simonb
5ebfa59966 Enable FFS_EI. 2003-07-16 00:52:59 +00:00
lukem
ed51729135 __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
lukem
4b2744bf35 __KERNEL_RCSID() 2003-07-15 02:43:09 +00:00
lukem
0c82163c78 __KERNEL_RCSID() 2003-07-15 02:29:24 +00:00
lukem
3b4fb6d0ef __KERNEL_RCSID() 2003-07-15 02:15:00 +00:00
lukem
9d93561319 a .#included .c file needs __KERNEL_RCSID(1, ... 2003-07-15 02:13:13 +00:00
lukem
ab48a212f9 rcsid 2003-07-15 01:44:50 +00:00
lukem
141727280b __KERNEL_RCSID() 2003-07-15 01:31:38 +00:00
lukem
e803bea7e7 __KERNEL_RCSID() 2003-07-15 01:19:42 +00:00
lukem
08716eae82 __KERNEL_RCSID() 2003-07-15 00:24:37 +00:00
lukem
a418360342 __KERNEL_RCSID() 2003-07-15 00:04:39 +00:00
lukem
e551149641 rcsid 2003-07-14 23:40:33 +00:00
lukem
37dbc5a71b __KERNEL_RCSID() 2003-07-14 23:32:28 +00:00
lukem
10926a715a add __KERNEL_RCSID() (using 1, for #included .c files) 2003-07-14 23:25:35 +00:00
lukem
6fdfc66c57 add __KERNEL_RCSID() 2003-07-14 22:57:46 +00:00
lukem
1b7326b581 use __KERNEL_RCSID() in a consistent manner 2003-07-14 22:48:19 +00:00
lukem
52c38f7f74 add __KERNEL_RCSID() 2003-07-14 22:32:39 +00:00
lukem
ace607b862 add __KERNEL_RCSID() 2003-07-14 22:13:09 +00:00
aymeric
66cce85a22 get rid of printf() warnings in the FDDEBUG case by using the right format
specifiers
2003-07-14 15:57:39 +00:00
aymeric
f8f792fd37 The second argument to amidisplaycc_setnamedfont() really should be a const.
Make it so.
2003-07-14 15:56:39 +00:00
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
de043b8788 use __KERNEL_RCSID(0, instead of RCSID( in the kernel 2003-07-14 15:17:13 +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
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
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
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
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
igy
b449da1391 KNF 2003-07-13 09:25:50 +00:00
igy
a90b1b8eca code clean up 2003-07-13 08:56:16 +00:00
igy
3e9598d4fa move window of pci i/o cycle to higher address 2003-07-13 08:26:31 +00:00
igy
cdb56b83f6 mapping pci configuration space (not subregion) 2003-07-13 07:15:22 +00:00
igy
1087696257 using common bus_space_tag in ixpsip too 2003-07-13 02:48:41 +00:00
igy
365f7e1994 sharing bus_space_tag among ixpio, pci mem and i/o. 2003-07-13 02:11:58 +00:00
igy
2a9dfe7684 using devmap for static mapping 2003-07-13 01:01:50 +00:00
aymeric
f0696ba4ba strategy() should really have an ANSI prototype. Otherwise its daddr_t
argument gets passed wrongly.
This should fix a bug reported by Martin J. Laubach on port-macppc, and
was fixed two weeks ago in NetBSD/ofppc.
2003-07-11 23:38:08 +00:00
christos
28c6644783 the author needs to stay way from the crack pipe: two bugs cancelled each other! 2003-07-11 20:33:03 +00:00
pk
c7a9b61e64 Deal with disk change notification. 2003-07-11 12:09:12 +00:00
lukem
66173dd5f9 NOxxx= variables should appear first 2003-07-10 11:30:43 +00:00
lukem
001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
pk
f9dc3a73e0 compat mode:
* print warning if kernel image is too large.
	* adjust `required space' computation to be more compatible to
	  what it was before.
	* since there's still no code to recognise `old kernels', provide
	  a way to turn on `compatmode' manually, using the `-C' boot option.
2003-07-10 09:06:52 +00:00
pk
95ca576fc1 pmap_map(): round up size to compute # of pages. 2003-07-10 09:00:33 +00:00