Commit Graph

35980 Commits

Author SHA1 Message Date
thorpej
96ea5b9ac4 Rename clock_rtc_config() to todr_attach(). 2003-07-18 21:41:22 +00:00
thorpej
91b8f572a8 Move the prototype of clock_rtc_config() into <dev/clock_subr.h>. 2003-07-18 19:20:55 +00:00
tls
dacf9875c8 Allow redefiniton of KERNBASE. Because the type of this constant is
different for locore.S and the rest of the kernel, if you redefine
it from the default value, you must also define KERNBASE_LOCORE -- this
is ugly, but so is having the same constant with two different types
depending where in the kernel it's used...
2003-07-18 17:33:05 +00:00
simonb
460c3dca02 Reflect reality a little better. 2003-07-18 05:18:19 +00:00
matt
6783111f9f Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to
the canonical versions in kern_synch.c).  Define __HAVE_BITENDIAN_BITOPS
so the canonical versions will be used but will store priorities in the
desired (MSB) order for PowerPC (which allows the use of the cntlzw (count
leading zeroes, word) instruction in locore_subr.S to find the proper
priority).
2003-07-18 01:08:11 +00:00
matt
5819fb160d Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to
the canonical versions in kern_synch.c).  Define __HAVE_BIGENDIAN_BITOPS
so the canonical versions will be used but will store priorities in the
desired (MSB) order for PowerPC (which allows the use of the cntlzw (count
leading zeroes, word) instruction in locore_subr.S to find the proper
priority).
2003-07-18 01:08:10 +00:00
petrov
120c8bbd3f Driver for CP1500/1400 watchdog timer. 2003-07-17 21:02:03 +00:00
petrov
fd3a71be25 Driver for CP1500/1400 watchdog timer. 2003-07-17 20:54:41 +00:00
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