dsl
d91455ce26
Change return type of readdisklabel() to const char *
...
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00
scw
8c5c893bf7
Add a BKPT_ADDR() macro which gives MD code a chance to munge a
...
breakpoint address before it's used. Currently a no-op on all but sh5.
This is useful on sh5, for example, to mask off the instruction
type encoding in the bottom two address bits, and makes it possible
to do "db> break $rXX" instead of manually munging the address.
2003-04-29 17:06:03 +00:00
nakayama
1af3731706
- Add ehci at pci.
...
- Correct locator names for fwnode, and add sbpscsi at fwnode.
2003-04-29 16:17:12 +00:00
nakayama
4a9dc3167f
Use device attributes, atapi, audiobus and midibus,
...
instead of each devices.
2003-04-29 15:59:08 +00:00
nakayama
7949ab62e7
Wrap a 64-bit mode case with #ifdef __arch64__ for 32-bit kernels,
...
and fix typo in comment.
2003-04-29 05:59:16 +00:00
nakayama
9ab502701d
Use BLOCK_ALIGN rather than BLOCK_SIZE for aligning a pointer.
2003-04-29 05:53:11 +00:00
ragge
1989d659bb
Preserve the symbol table in the LKM || KSYMS cases also.
2003-04-27 10:42:48 +00:00
ragge
4a0e449b1e
Add pseudo-device ksyms.
2003-04-26 14:34:16 +00:00
ragge
69a66687f8
Call ksyms_init() instead of ddb_init() in case of
...
NKSYMS || defined(DDB) || defined(LKM)
2003-04-26 11:05:05 +00:00
ragge
766d04f56a
Add ksyms device major.
2003-04-25 21:10:46 +00:00
martin
d65cbab3ff
Connect the front panel power button on psycho based machines to sysmon's
...
/dev/power.
XXX - due to the way interrupt handling is structured we have no easy
way to defer clearing the button interrupt until the sysmon callback
has happened and the event is dispatched. We clear it imediately on
return from the interrupt handler. This means we get an interrupt storm
until the button is released, and then start to handle it.
This needs to be fixed! (But with the default application for the power
button does not make a user visible difference.)
2003-04-21 12:14:19 +00:00
martin
d313e6d92e
Add sysmon device.
2003-04-20 16:53:46 +00:00
nakayama
625feacd44
Change a fixup of interrupt number a bit.
2003-04-20 00:29:37 +00:00
christos
a2dfb1b570
PR/3012: Greg A. Woods: Write all float.h files [except the vax of course]
...
in terms of float_ieee.h
2003-04-19 23:05:28 +00:00
nakayama
72911290d9
Comment fixes from OpenBSD.
2003-04-17 12:58:18 +00:00
dsl
f1a857b8af
change 'data' arg of fo_ioctl to void * to match file.h
2003-04-16 08:56:42 +00:00
petrov
488c2452ee
clean-up unused definition.
2003-04-14 01:44:06 +00:00
christos
b9f9db3ca2
Bye Bye UCONSOLE
2003-04-10 22:06:51 +00:00
tsutsui
cd1fab2323
Comment out le at pci that doesn't work. (device timeout)
...
Probably bus_dmamap_sync() calls are required in
copy{from,to}{buf,desc}() functions..
2003-04-05 14:21:57 +00:00
tsutsui
be164a7ff6
- remove "UT" (untested) from some working devices (ahc, pcscp, ex and epic)
...
- comment out sip which causes uncorrectable DMA error on TX.
- add commented out pcn which also causes DMA error.
2003-04-05 13:36:15 +00:00
petrov
7facff52bd
use branch slot in pmap_copy_page.
2003-04-04 21:35:39 +00:00
martin
67c767ede2
Provide PAGE_SIZE to assembler source.
2003-04-03 22:19:16 +00:00
thorpej
cc2c493bc4
Use PAGE_SIZE rather than NBPG.
2003-04-02 07:35:54 +00:00
thorpej
747aa1e024
Use PAGE_SIZE rather than NBPG.
2003-04-01 16:34:58 +00:00
thorpej
d3f30fc625
We use 8K VM pages on Sun4U, so make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK
...
into compile-time constants.
2003-04-01 16:05:30 +00:00
thorpej
7f9b4b1a1c
Add some braces to make a block of code a bit easier to read.
2003-03-30 00:28:19 +00:00
nakayama
f73433c6f6
Divide `set' instruction in delay slot (from OpenBSD change to rev 1.30).
2003-03-24 13:27:44 +00:00
nakayama
7bb8250096
PCI-CardBus bridge support for sparc64:
...
- add CardBus and PCMCIA devices configrations.
- add workaround for internal compiler error on dev/ic/elink3.c.
2003-03-22 06:39:43 +00:00
nakayama
b1a9940dae
PCI-CardBus bridge support for sparc64:
...
- add MD part of cardbus support.
2003-03-22 06:36:18 +00:00
nakayama
11529a0609
PCI-CardBus bridge support for sparc64:
...
- add splsoftserial.
2003-03-22 06:34:28 +00:00
nakayama
aad45dd3ad
PCI-CardBus bridge support for sparc64:
...
- handle devices which has no OBP node.
- move PCI latency-timer initialization from pci_intr_map to
pci_enumerate_bus.
- make PCI bus free space extents for cardbus devices.
- fix PCI config space map size.
- some code integrations.
2003-03-22 06:33:09 +00:00
martin
717651ac94
Band aid - the infamous dcache_flush_page change independently suggested
...
by Andrey Petrov and Jason Thorpje (AFAIK).
This is a hack that covers some symptoms while we have no idea where
the real problem is. Anyway, since this avoids random data corruption
we better be safe and have this in-tree until the problem is solved the
right way.
2003-03-11 21:28:23 +00:00
tshiozak
31e2cbf0b5
add some ISO C 1995 I18N functions and types:
...
btowc, wctrans, towctrans, wcscoll, wcsxfrm, wctype_t and wctrans_t.
2003-03-02 22:18:11 +00:00
perseant
eab869e1c0
Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
...
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
2003-02-27 19:22:36 +00:00
seb
3cd76da95a
Add vlan(4) pseudo device. Approved by martin@
2003-02-20 13:30:44 +00:00
martin
c3ed92df3e
Add a few new devices.
2003-02-20 12:02:31 +00:00
augustss
519f8f3d30
Add uax(4) (and url(4) in some cases).
2003-02-16 17:35:13 +00:00
martin
df839081ab
Remove DEBUG and -g.
...
Output with DEBUG enabled is anoying these days and we don't want to
scare away users of the INSTALL kernel.
2003-02-12 08:19:02 +00:00
martin
504b72aeba
Remove some #if 0 code and a few XXX marked membars w/o proper
...
justification for their existence.
2003-02-10 18:23:26 +00:00
grant
67c2d7c242
add wi at pci.
2003-02-10 09:26:54 +00:00
martin
57765e72ac
Remove left over pieces from reusing the signal trampoline for upcalls.
...
This should fix signal delivery for 32bit kernels.
2003-02-09 19:44:19 +00:00
nakayama
e3e4805068
Replace machine/rnd.h with more appropriate name to share it
...
with cycle counter based microtime in kern/kern_microtime.c.
2003-02-05 13:57:50 +00:00
nakayama
8920acd333
Switch to use cycle counter (%tick) based microtime().
...
This is derived from alpha/microtime.c and i386/tsc_microtime.c,
and will share with both ports.
This should fix PR port-sparc64/18452.
(approved by martin)
2003-02-05 12:06:51 +00:00
perry
1f4ad37fe3
"Utilize" has exactly the same meaning as "use," but it is more
...
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-05 00:02:24 +00:00
martin
060b3ab19e
Fix return value of pseg_set, which I accidently broke in rev. 1.164.
...
Fix register names in comment and shave off another register (hint
from uwe).
2003-02-04 15:58:27 +00:00
martin
4fdab6305d
Rearrange register usage in pseg_set a bit and shave off %g4.
2003-02-01 22:43:04 +00:00
martin
5cbc65eab2
Remove a few #ifdef _LP64 by using STPTR/LDPTR macros.
...
Thanks to Matthew Green for the pointer.
2003-02-01 09:31:23 +00:00
martin
3b0f844b5d
Apply leaf procedure optimization to pseg_set (again).
2003-01-31 22:19:33 +00:00
martin
1ecf66db9f
Make the pmap count resident/wired mappings on the fly instead of
...
walking the page tables whenever this information is needed.
Add an option PMAP_COUNT_DEBUG to assert the new counts and the
page table walk agree.
The old solution had very bad performance impact, for example
by the high CPU load when running top(1).
Thanks to Simon Burge for pointing at the cause of the problem and
to Valeriy E. Ushakov for optimizing my simple minded assembler code.
2003-01-31 19:05:55 +00:00
martin
dc63778c66
Sparc64 already had a BUS_DMA_NOCACHE - remove one of the two definitions.
...
Fortunately the old (local) one had the same semantics as the new one.
2003-01-30 13:32:25 +00:00