kleink
7b3b647647
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
2004-05-08 21:51:47 +00:00
christos
4ad27a5358
add COMPAT_20
2004-05-02 03:13:34 +00:00
kleink
0e5d242328
Update for new pci_devinfo(9) signature.
2004-04-24 15:49:00 +00:00
simonb
9bc855a931
s/the the/the/ (only in sources that aren't regularly imported from
...
elsewhere).
2004-04-23 02:58:27 +00:00
petrov
d9120c091a
Clean-up unused defines and variables.
2004-04-09 19:41:57 +00:00
nakayama
1de145799e
Revert a part of rev. 1.44.
...
OF_getprop can get only the first "reg" property with a statically
allocated buffer, but prom_getprop cannot.
This should fix a "kernel trap 30: data access exception" when you
invoke a pcictl(8).
2004-04-04 11:53:40 +00:00
petrov
50f9ddcdce
Recognize tlp and ethernet as bootpath.
2004-03-30 21:26:40 +00:00
nakayama
dcfdceefdd
Set prom_getprop args correctly.
2004-03-28 09:31:21 +00:00
eeh
5f1ffa71fc
License cleanup.
2004-03-27 16:21:53 +00:00
petrov
0514cbdca0
Use want_resched from cpu_info area.
2004-03-26 23:18:42 +00:00
atatat
19af35fd0d
Tango on sysctl_createv() and flags. The flags have all been renamed,
...
and sysctl_createv() now uses more arguments.
2004-03-24 15:34:46 +00:00
martin
dfd6258259
Replace intrcnts by evcnts. XXX - needs slight tweaking for MULTIPROCESSOR.
2004-03-23 00:17:12 +00:00
nakayama
83f4b465c2
Truncate values to 32-bit, not 40-bit.
2004-03-22 12:28:02 +00:00
nakayama
3a065cad6a
Eliminate cast 64-bit address to u_long.
2004-03-22 12:24:37 +00:00
nakayama
323fc574b9
Make 32-bit kernels compile with options DEBUG.
2004-03-22 12:21:58 +00:00
nakayama
8b6b7ba030
Make 32-bit kernels compile with options DIAGNOSTIC.
2004-03-22 12:20:52 +00:00
nakayama
d1fa565f18
Make it compile again.
2004-03-22 12:19:49 +00:00
martin
6582666bc7
Realy disable optimization for 32bit kernels when compiling uvm_bio.c.
2004-03-22 00:43:37 +00:00
pk
4021f0eb39
Use prom_getpropstring().
2004-03-21 16:29:42 +00:00
pk
e8397400f7
Some more promlib interface conversions.
2004-03-21 16:09:13 +00:00
pk
3b45f4cb4c
OF_stdin() and OF_stdout() are obsolete.
2004-03-21 15:09:25 +00:00
pk
05a2b2300b
Use the promlib I/O routines.
2004-03-21 15:08:24 +00:00
pk
b865f2441c
stdin' and
stdout' are obsolete.
2004-03-21 15:07:00 +00:00
pk
107e759b1c
Two commas went missing in last commit.
2004-03-21 14:28:47 +00:00
pk
2a26804b1a
Reach over to the sparc openfirm & openprom implementation.
2004-03-21 14:25:51 +00:00
pk
f7fe3a3531
Partial switch to the promlib interface.
2004-03-21 14:22:52 +00:00
pk
f1bff50602
Mostly switch to promlib interface. Postpone the use of prom_makememarr()
...
since the sparc64 memory range properties aren't compatible yet.
Fix pmap_calculate_colors() in the process.
2004-03-21 14:19:30 +00:00
pk
0d449eda9b
Switch to promlib interface.
2004-03-21 14:15:35 +00:00
pk
e0b67a7f3e
Drop prom_printf() + some other unused stuff.
2004-03-21 14:13:15 +00:00
pk
6521621036
Switch to the sparc prom library.
2004-03-21 14:10:08 +00:00
pk
fb7560550b
Add sparc/sparc/promlib.c.
2004-03-21 14:07:01 +00:00
pk
ef98c2defb
Reach over to the sparc versions.
2004-03-21 14:05:43 +00:00
martin
d315780ef4
Disable optimization when compiling uvm_bio.c with a 32 bit compiler.
2004-03-21 13:12:30 +00:00
martin
55dfc16be5
Make sure prom_getprop is called with the size pointed to by nitem
...
initialized. (Some of these are more paranoia, but two were actual bugs.)
Print error codes in some panic messages.
2004-03-21 12:50:14 +00:00
petrov
2f1de3c8b2
More on fbnode to prom_stdout_node rename.
2004-03-19 21:10:31 +00:00
pk
d6f1cac110
zs_console_flags: use prom_getoption().
2004-03-19 15:42:46 +00:00
pk
7417e05ce6
Drop fbnode & stdinnode.
2004-03-19 15:31:04 +00:00
pk
af0050c56b
Drop optionsnode, fbnode and stdinnnode.
2004-03-19 15:22:43 +00:00
pk
6c02638ef2
Sync with sparc: rename
...
stdinnode => prom_stdin_node,
fbnode => prom_stdout_node.
2004-03-19 15:21:42 +00:00
pk
90dbcf4919
Use prom_getoptionsnode().
2004-03-19 14:42:01 +00:00
pk
ea53363e84
Rename PROM_getprop*() => prom_getprop*().
2004-03-17 17:04:58 +00:00
pk
fcac5c14aa
Pass the buffer size to PROM_getpropstringA(), as in sparc.
2004-03-17 15:22:57 +00:00
pk
370bb883e5
Print the host Id in mainbus_attach() instead of clock_attach().
2004-03-17 14:35:53 +00:00
pk
00aaee7ade
Drop myetheraddr();
2004-03-17 14:26:59 +00:00
pk
8512c4b642
Use prom_getoption() and drop home-grown string-to-integer conversion code.
2004-03-17 14:03:22 +00:00
pk
6c325ce299
ffb_attach: Use prom_getoption() and drop home-grown string-to-integer
...
conversion code.
2004-03-17 13:58:14 +00:00
pk
aafd051f4f
For now, implement prom_getoption() in autoconf.c.
2004-03-16 23:05:45 +00:00
pk
9c0a7ff277
For now, implement prom_getidprom() and prom_getether() in autoconf.c
2004-03-16 13:14:34 +00:00
simonb
55965d25ad
Use "#define<tab>" consistently.
2004-03-14 21:12:08 +00:00
chs
cec587ddf6
checkpoint of MP work from dennis and myself. includes cross-processor
...
interrupt framework, a sledgehammer TLB invalidation and misc MP fixes.
doesn't work at all yet.
2004-03-14 18:18:54 +00:00