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
lukem
82bd1c0ce3
shell coding tweaks
2003-07-10 04:48:34 +00:00
matt
2a6c2aa546
Back out rev 1.19. It's wrong. Add comments so it doesn't happen again.
2003-07-10 04:18:01 +00:00
matt
18a43bbe99
Don't do vtophys on instruction addresses. This would cause problems for
...
user addresses (think trap from user mode) or lkms).
2003-07-10 02:06:11 +00:00
matt
554b4aa05f
Enhance db_trace to understand syscalls and print the syscall number
...
that the user requested. For example:
0xd5c56f40: SC trap #240 by 0x15668c60: srr1=0xd032
r1=0xffffe470 cr=0x44000045 xer=0 ctr=0xeff27ab8
2003-07-09 22:51:50 +00:00
thorpej
88f63e28d6
Make faulting in DDB continue back in the top-level command
...
loop properly.
2003-07-09 20:14:14 +00:00
he
db2df0cdd4
After the recent changes to if_ieee80211.h, we need to include
...
if_media.h earlier.
2003-07-09 14:30:29 +00:00
cdi
684b6d6499
traceit: don't use %g7 as it is to become curcpu() register. Add comments.
2003-07-08 22:09:26 +00:00
lukem
5d226417ac
fix cesfic entry whitespace to be consistent
2003-07-08 04:21:28 +00:00
dsl
fb2276c4c8
Replaced by sys/kern/subr_disk_mbr.c which also supports having the
...
NetBSD partition in the MBR extended partion.
2003-07-07 13:36:05 +00:00
dsl
227f8466e9
Switch to using MI code to find disklabel on MBR disks.
2003-07-07 13:34:08 +00:00
dsl
1943909639
Support booting from a netbsd partition in the MBR extended partition.
2003-07-07 13:32:42 +00:00
dsl
a1484d22a6
Remove 'dosparts' it hasn't been used for a while (if ever).
2003-07-07 13:30:10 +00:00
simonb
91dc378d5c
Hardwire physmem to 32MB if not called from CFE.
...
This should be a kernel config option, but for now is enough to get
a sbmips GENERIC kernel running under a simulator.
2003-07-06 12:14:50 +00:00
tron
896fd5c944
Add hardware random number generator support for Intel 865 and
...
875P chipsets.
2003-07-06 07:24:31 +00:00
kochi
9ab543513d
o cleanup usage of ACPI_ACTIVATE_DEV/ACPI_PCI_FIXUP
...
o delete usage of ENABLE_DEBUGGER
As ACPI_ACTIVATE_DEV/ACPI_PCI_FIXUP are defflag'ed in files.acpi,
these options don't have to have a value.
2003-07-06 04:03:21 +00:00
tsutsui
6615ddefa9
Rename some MI mb89352 functions for consistency:
...
spcintr() -> spc_intr()
spcattach() -> spc_attach()
2003-07-05 19:00:16 +00:00
tsutsui
3b48b7c661
Rename functions to avoid namespace conflicts:
...
spc_match() -> spc_mainbus_match()
spc_attach() -> spc_mainbus_attach()
2003-07-05 18:43:11 +00:00
tsutsui
ae2b6b31a0
Add some missing register prefixes.
2003-07-05 18:40:31 +00:00
tsutsui
acc15558d0
Some cosmetics on bus_space_tag_t initialization.
2003-07-05 16:57:04 +00:00
simonb
aa57e31a39
Make mptrap.o depend on assym.h; fixes GENERIC.MP -j N kernel build.
2003-07-05 16:56:10 +00:00
tsutsui
f60951ffdb
Initialize bus_space_tag in rtc_softc properly in rtcattch().
2003-07-05 16:48:12 +00:00
tsutsui
2dcba30bb6
cosmetics
2003-07-05 16:21:17 +00:00
dogcow
ccd442eae3
gcc 3.2 complained about the missing __volatile and extra tokens after #endif.
2003-07-05 06:53:08 +00:00
simonb
beadae28a9
Add some dependancies on assym.h; helps "make -j N" kernel builds.
2003-07-04 03:48:01 +00:00
thorpej
1656a492ee
Set the mac-addr property of the on-chip emac device.
2003-07-04 02:35:38 +00:00
thorpej
d00b22d0e7
Consult the "mac-addr" property associated with the emac device in
...
the dev_propdb rather than referencing board_data.
2003-07-04 02:34:47 +00:00
thorpej
d796e65ef5
Use device_register() to set the "frequency" property on the UART.
2003-07-04 02:21:50 +00:00
thorpej
5b7c5eadea
Consult the "frequency" property associated with the device in the
...
dev_propdb, rather than using "board_info".
2003-07-04 02:21:02 +00:00
thorpej
1a4648d9ad
Add device_register().
2003-07-04 01:59:19 +00:00
thorpej
d876aa082a
Nuke the "alchemy_info" stuff, and just use the dev_propdb to set
...
the mac-addr property for the Au1x00 on-chip MACs.
2003-07-04 01:19:58 +00:00