| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
device seems to be the macio ATA cell with a PCI front-end, and
has no relation to PIIX-style ATA/PCI devices.
|
|
|
|
| |
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
|
|
|
|
|
|
| |
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
Slightly modified by: grehan
Derived from: i386
|
| |
|
|
|
|
| |
- remove trailing whitespace
|
|
|
|
| |
- removed obsolete NetBSD-derived ADB conditionals
|
|
|
|
| |
- removed unused variable to fix compile warning
|
| |
|
|
|
|
| |
- fix compile warnings. badaddr() will go to a header file soon.
|
|
|
|
|
|
|
|
|
|
|
| |
- culled long-dead #define's
- segment register defs moved to sr.h
- NPMAPS moved to pmap.h
- KERNBASE moved to vmparam.h
- removed include of <machine/cpu.h> and fixed src files that
relied on this.
Modifying segment register code no longer causes gcc rebuilds :-)
|
| |
|
|
|
|
| |
by UMA_MD_SMALL_ALLOC
|
|
|
|
|
|
|
| |
pci-hi/med/lo + node 'interrupts' property. This worked by
accident until recent notebooks required correct operation.
Tested by: Suleiman Souhlal <refugee@segfaulted.com>
|
|
|
|
|
|
| |
in Motorola processor errata.
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- add an option for the output device in the hope that this can
be made non-blocking at some stage.
- define an alias for the disk device, required by dev/ofw/ofw_disk.c
- shift iobus to 0x9000000 so as not to clash with the OpenFirmware
entry point of 0x8000400 when address decoding.
- down-tone comments about the disk dev config :-)
|
|
|
|
|
|
|
|
|
|
|
|
| |
using the direct-mapping of physmem to force PTE data structures
to be physically addressable so the interrupt-time real-mode
DSI trap handler could perform PTE spills. However, the memory
may have been > 256Mb, which would have caused a BAT spill and
double-interrupt.
The new trap code no longer handles PTE spills, so the requirement
that these pages be direct-mapped no longer applies. The irony is
UMA_MD_SMALL_ALLOC will return direct mappings for these structs :-)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove unused 601 and tlb exception code
- remove interrupt-time PTE spill code. The pmap code
will now take care of pinning kernel PTEs, and there
are no longer issues about physical mapping of PTE
data structures
- All segment registers are switched on kernel entry/exit,
allowing the kernel to have more virtual space and for
user virtual space to extend to 4G.
- The temporary register save area has been shifted from
unused exception vector space to the per-cpu data area.
This allows interrupts to be delivered to multiple CPUs
- ISI traps no longer spill to BAT tables. It is assumed
that all of kernel instruction memory is pinned.
- shift from 'ldmw/stmw' instructions to individual register
loads/stores when saving context. All PPC manuals indicate
this should be much faster.
- use '%r' for register names throughout.
TODO: need to test if DSI traps were the result of kernel stack
guard-page hits.
Reworked from: NetBSD
|
|
|
|
|
|
| |
- ISI traps are now handled by the generic trap routine
- direct diagnostic traps to DDB if defined
- remove unused asngen pcpu init
|
| |
|
|
|
|
| |
- garbage-collect unused defs
|
|
|
|
|
|
| |
per-CPU memory. This allows for interrupt handling on multiple CPUs.
Obtained from: NetBSD
|
| |
|
|
|
|
| |
- white space nits
|
|
|
|
|
|
| |
on the new 12/15/17" PowerBooks that don't have the "interrupt-controller"
property underneath "/chosen", which was the previous way of
searching.
|
|
|
|
|
|
|
|
| |
for direct-mapped addresses. Assume that any address less than KVA
is one of these and return it. Also assert that an address is KVA
does have a valid mapping - callers of pmap_kextract don't check
the return value, since they assume that they have a valid virtual
address.
|
|
|
|
|
|
|
| |
addressing of memory. Makes a substantial improvement for apps that
stress the limited amount of KVM on PPC (e.g. untarring the ports tree).
uma_machdep.c stolen from amd64/ia64.
|
|
|
|
|
| |
ULE will be in a probationary period to determine whether it will be left
as the default in 5.3 which would likely mean the rest of the 5.x series.
|
|
|
|
|
|
| |
that one can load the IPFilter module (which requires PFIL_HOOKS).
Requested by: Many, for over a year
|
|
|
|
|
| |
the OpenFirmware console and the syscons console when using a USB
keyboard.
|
|
|
|
|
| |
out of asm.
- remove some long-dead code from machdep.c
|
|
|
|
|
|
|
| |
OpenFirmware. Not at all optimized, but provides a PC-style
user-experience.
Tested on revA imac, B&W G3, 2k iBook, and G4 eMac.
|
|
|
|
| |
by libc
|
| |
|
|
|
|
| |
nexus code no longer searches for interrupt controllers.
|
|
|
|
|
|
|
|
|
|
| |
the MacIO chip and PSIM's IOBus. Bus-specific drivers should
use the identify method to attach themselves to nexus so
interrupt can be allocated before the h/w is probed. The
'early attach' routine in openpic is used for this stage
of boot. When h/w is probed, the openpic can be attached
properly. It will enable interrupts allocated prior to
this.
|
|
|
|
|
|
|
|
|
|
|
| |
and add_child entry point to allow devices to use the identify
method to add themselves if need be (e.g. openpic, syscons).
Export interrupt-controller-add routine for extern int cntlr drivers.
Eliminate recursive OFW device-tree walk and only iterate the
top-level ala sparc64. Allow child devices to set the device
type with write_ivars.
Step 1 of many in removing the hard-dependency on OpenFirmware.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is useless for threaded programs, multiple threads can not share same
stack.
The alternative signal stack is private for thread, no lock is needed,
the orignal P_ALTSTACK is now moved into td_pflags and renamed to
TDP_ALTSTACK.
For single thread or Linux clone() based threaded program, there is no
semantic changed, because those programs only have one kernel thread
in every process.
Reviewed by: deischen, dfr
|
|
|
|
|
|
| |
- The number of times sendfile had to do disk I/O
- The number of times sfbuf allocation failed
- The number of times sfbuf allocation had to wait
|
|
|
|
|
|
|
| |
and use imax instead of max, as sfbufspeak and sfbufsused
are signed.
Submitted by: bde
|
| |
|
| |
|
|
|
|
|
| |
quicker exec-time replacement of the elf interpreter on an emulation
environment where an entire /compat/* tree isn't really warranted.
|
|
|
|
|
|
|
|
| |
correctly, resulting in the dreaded "vm_pageout_flush: partially
invalid page" panic. The caching issue will be revisited in the
future, but opt for safety over performance in the meantime.
Tested by: gallatin
|
|
|
|
| |
ATA drives.
|
|
|
|
|
|
|
| |
- OpenFirmware returns overlapping memory regions. Use a simple
brute force algorithm to merge these into non-overlapping
regions. This fixes bugs in reporting of available memory
and also prevents pages from being added twice in the VM system.
|
| |
|
|
|
|
| |
Reviewed by: grehan
|