matt
a3a18840be
Remove SPILLSTK leftovers.
2003-08-12 05:15:41 +00:00
matt
c0d6cb285d
Nuke ci_curpm and curpm. Nuke pcb_pmreal. Those were use for spill stacks
...
and those no longer exist. for few uses that need CURPM, use CURPCB/PCB_PM
2003-08-12 05:06:53 +00:00
chs
b90614b54e
catch up with changes elsewhere.
2003-08-11 05:13:20 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
eeh
c07f47e182
The firmware actually passes the info block pointer in the link register.
2003-08-03 23:28:45 +00:00
eeh
f77f1feee5
Use %r<n> for register names.
2003-08-03 23:26:55 +00:00
matt
cef74eb810
Add #define _NOREGNAMES (to suppress asm.h from #define r1 1 ...)
2003-07-31 07:50:02 +00:00
scw
387af101cb
Fix an off-by-one error in pci_iot.
2003-07-29 08:18:03 +00:00
itojun
3f14c71f75
reserve cdev major # for PF. ok'ed by technical-exec
2003-07-27 14:17:57 +00:00
scw
abf277ed08
Adapt to the new ibm4xx bus(9) world order.
2003-07-25 14:34:33 +00:00
scw
1e296ec185
Add back an accidentally deleted 'return'.
2003-07-25 13:56:11 +00:00
scw
0b0e493eff
Switch ibm4xx ports to common powerpc bus_space/bus_dma code.
...
XXX: Walnut PCI support is broken. This will be addressed shortly.
2003-07-25 11:44:18 +00:00
simonb
16f1ab81b5
Correct a comment.
2003-07-16 08:06:10 +00:00
simonb
9b0c94bec0
Only need to call consinit() once...
2003-07-16 01:00:33 +00:00
simonb
5ebfa59966
Enable FFS_EI.
2003-07-16 00:52:59 +00:00
lukem
141727280b
__KERNEL_RCSID()
2003-07-15 01:31:38 +00:00
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
thorpej
1656a492ee
Set the mac-addr property of the on-chip emac device.
2003-07-04 02:35:38 +00:00
thorpej
d796e65ef5
Use device_register() to set the "frequency" property on the UART.
2003-07-04 02:21:50 +00:00
thorpej
1a4648d9ad
Add device_register().
2003-07-04 01:59:19 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
960df3c8d1
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
...
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
drochner
1a03e79900
don't #include <sys/dkstat.h> where it is (appearently) unused
2003-06-18 08:58:34 +00:00
fvdl
7dd7f8baa2
Handle 64bit DMA addresses on PCI for platforms that can (currently only
...
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
scw
d984534d7f
The GT is always host on both PCI busses.
2003-06-12 19:21:09 +00:00
hannken
ff0f991625
Add symtab to kernel image using dbsym(8).
...
Add /dev/ksyms.
2003-05-31 12:00:59 +00:00
he
af0f8cc629
Include <sys/disk.h> to get "struct disk" defined.
...
Approved by thorpej
2003-05-12 14:46:13 +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
thorpej
2a90e2a9c9
Remove redundant bounds_check_with_label() prototype.
2003-05-10 16:12:02 +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
ragge
1989d659bb
Preserve the symbol table in the LKM || KSYMS cases also.
2003-04-27 10:42:48 +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
bouyer
aec10dd80c
Nake return values from bounds_check_with_label() conform to the man
...
page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit
message, pointed out by Miod Vallat in private mail.
vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how
other places handle return values from bounds_check_with_label().
2003-04-16 15:00:59 +00:00
wiz
56a51233b4
Make it wsfont/wsfont instead of wsfont/wsmux, just like the other ports.
2003-04-16 09:41:54 +00:00
christos
b9f9db3ca2
Bye Bye UCONSOLE
2003-04-10 22:06:51 +00:00
matt
4daebcbff5
Make the imask_t typedef a struct rather than a naked array. The attribute
...
on the array typedef was contaminating other u_int32_t naked arrays and
affecting their alignment.
2003-04-09 15:44:26 +00:00
thorpej
9a8042f242
Use PAGE_SIZE rather than NBPG.
2003-04-08 22:57:53 +00:00
matt
eb675c41cf
Select MPSC console and the proper PCI slots. Use -D__boardtype__ instead
...
of -Dboardtype.
2003-04-08 19:35:24 +00:00
thorpej
fd53a1c386
Use PAGE_SIZE rather than NBPG.
2003-04-02 03:51:33 +00:00
matt
2cf5fc0ece
Add options to allow overriding of PCI0 & PCI1 MEM and I/O start and sizes.
2003-03-27 07:19:11 +00:00
matt
1ebbd9b463
Make PCI interrupts -> GPP mapping configured via config file.
...
Add bus_spaces for all possile obios. Add gt_halt to make
sure the discovery is not doing dma as soon as possible.
Read the SDRAM register to figure out how much physical RAM
is available.
2003-03-24 17:07:15 +00:00
matt
13db562ca9
Remove unneeded code in pci_bus_configure (was pci_config_bus). Fix
...
setting of bus_spaces in gt_attach.
2003-03-18 19:35:01 +00:00
matt
0200088d83
Enable iobats for the PCI memory space(s).
2003-03-18 19:33:50 +00:00
matt
0a2b7ed22b
Switch to gtmpsccnattach. Fix a few bugs in bus_space initialization.
2003-03-18 14:59:12 +00:00
matt
0b9b6810a5
Removed unused variable.
2003-03-18 14:56:48 +00:00
matt
3ec00b9a8f
work around a cache problem. (flush both caches and disable the D-cache).
2003-03-18 14:56:21 +00:00
matt
a935178cad
remove "kludge" com console.
...
Simplify timebase initialization.
2003-03-17 23:28:09 +00:00