Commit Graph

1638 Commits

Author SHA1 Message Date
martin
b812b130a9 Remove commented out and nowadays incorrect KGDB declarations. 2003-05-26 21:12:07 +00:00
petrov
f52795a415 ffb added. 2003-05-23 06:57:58 +00:00
petrov
49f3f8ccaf Port of OpenBSD ffb driver written by Jason L. Wright. 2003-05-23 06:51:15 +00:00
martin
a47f54c6b8 Make kernels with options KGDB at least compile.
Still needs some work to make it working.
2003-05-18 22:11:31 +00:00
martin
ce380782ec My reading of the gdb code seems to indicate it expects 125 registers
from sparc64, not 72 (sparc value). Bump kgdb buffer size a bit too.
2003-05-18 21:00:57 +00:00
martin
6b8eb7fd4f Remove reference to non-existing file 2003-05-18 20:56:54 +00:00
nakayama
a8c34ddce5 Avoid comparison is always false warnings in gcc 3.3 w/ 32-bit kernels. 2003-05-17 01:49:59 +00:00
nakayama
67e3486872 Avoid integer constant is too large warnings in gcc 3.3. 2003-05-17 01:48:22 +00:00
nakayama
d0f6668f6d Avoid strict-alias warnings in gcc 3.3. 2003-05-17 01:38:39 +00:00
dsl
88b103687c ktrace rval[1] - in order to get both fd numbers for pipe() 2003-05-15 12:56:16 +00:00
martin
2bfee7cbe0 Backout previous, it was apparently ovelooked when backing out the
change in other places.
2003-05-13 08:39:25 +00:00
kleink
776138ea69 Rename <sys/float_ieee.h> to <sys/float_ieee754.h>, following libc's
convention for these.
2003-05-12 15:22:53 +00:00
thorpej
e43fecb228 Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself.  This paves the way for some future changes.
2003-05-10 23:12:28 +00:00
martin
87c22b8198 Convert a few home-grown if()... Debugger() sequences into real panics. 2003-05-10 14:10:54 +00:00
martin
c1a485bec1 Remove a spurious Debugger() call. 2003-05-10 14:03:19 +00:00
martin
9ce1071f1c We are always using ELF on sparc64, so nuke bogus test for DB_ELF_SYMBOLS. 2003-05-10 13:35:10 +00:00
thorpej
b77900c3c2 Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.

This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).
2003-05-08 18:13:12 +00:00
martin
ae2073f3d8 Make all non-trivial bus space functions "static __inline" (consistently)
and turn all macros with local blocks and declarations into functions.
This fixes PR 19975.
2003-05-05 09:36:51 +00:00
martin
57482255bc When overwriting the cache line size configuration, do not use the magic
value 0x10, but instead calculate a line size that is properly aligned
to the IOMMU strbuf cache and our external cache line size.
From FreeBSD.
2003-05-05 07:51:26 +00:00
martin
d22ec31292 Move the bus speed query code into it's own function and make it default
to 33 MHz. Cosmetics, no functional change.
2003-05-04 21:36:26 +00:00
wiz
1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
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