matt
13e7cd4f3f
Use i386_isa_chipset explicitly.
2002-12-28 17:36:59 +00:00
jmcneill
df719d72e4
NACPCA -> NACPI, so isa_dmainit gets called if we have ACPI support too.
2002-12-28 17:31:25 +00:00
matt
6b5d7a7b6c
Remember the isa_chipset_tag_t and supply to isa_intr_establish.
...
(thereby removing a XXX in the code).
2002-12-28 17:13:39 +00:00
matt
51ec27c813
Move the call to isa_dmainit to mainbus_attach from pnpbios_attach since
...
ACPI needs to have that done for the exact same reasons as ACPI.
2002-12-28 17:11:50 +00:00
tsutsui
e60823f9f2
Fix typo in comment.
2002-12-28 16:52:02 +00:00
tsutsui
46cc633768
Oops, fix typo in the previous.
2002-12-28 16:44:43 +00:00
pooka
bca1052dab
on second thought... make this also compile
2002-12-28 16:44:36 +00:00
pooka
00ddd0deec
add timer calibration
...
from Chris Sekiya
2002-12-28 16:40:48 +00:00
tsutsui
da446ea2da
Change device names in struct pica_dev to match ones used by ARC BIOS.
...
All of these parameters should be obtained from ARC BIOS, and we will
switch to the way in future. As per discussion with soda.
2002-12-28 16:25:38 +00:00
jmcneill
c8111254a1
Pass ISA chipset information through to ACPI devices, to allow for porting
...
of pnpbios(4) glue to acpi(4).
2002-12-28 06:14:07 +00:00
reinoud
ca70f10e3b
Add the loadfile_machdep.h as needed for native bootloaders
2002-12-28 02:42:13 +00:00
mrg
122353da40
rename CPU_READY() to CPU_NOTREADY() seeing that's what it checks.
2002-12-28 02:35:56 +00:00
mrg
7d51aacb32
update the vme bus_space_tag_t to reality.
2002-12-28 01:33:00 +00:00
tsutsui
5a1aba72d6
Bump SYMTAB_SPACE to 190000.
2002-12-27 14:59:21 +00:00
tsutsui
fbc8e4748a
Add support for SEGA LAN Adapter, MB86967 based Ethernet adapter.
...
Based on the patches in port-dreamcast/17493 by Christian Groessler,
with several modification by me.
2002-12-27 11:43:38 +00:00
tsutsui
c680050521
Add a set of bus_space(9) functions for g2bus devices with
...
sparse address space. This is required for SEGA LAN adapter support.
2002-12-27 11:34:05 +00:00
manu
f464631d66
Several things:
...
1) rights should be shared by the threads within a process. While it would
be easier to handle this with the struct proc/struct lwp split, we attempt to
do this now by sharing the right lists. Because each right holds a reference
to struct proc, this might cause some problems later.
2) in pthread_exit, really exit the thread. Also reintialize the righ tlist to
make sure we will not destroy the parent's right list
3) rights can hold multiple permissions on a port (ie: send and receive). Fix th
is.
4) first attempt on right carried by messages. We still have to do rights carrie
d in the message body (complex messages).
2002-12-27 09:59:24 +00:00
pooka
30d4a8344b
sync with mecreg change, ie. make this compile
2002-12-26 22:25:12 +00:00
pooka
a0c298e366
brush up situation with mec register definitions
...
from Chris Sekiya
2002-12-26 22:24:46 +00:00
pooka
c99132ebb0
Shuffle network interface and phy drivers into alphabetical order and
...
add comments for them.
2002-12-26 18:26:07 +00:00
martin
ffbcb6d927
Conditionalize T_DBPAUSE trap handling on #ifdef MULTIPROCESSOR to make
...
single CPU kernels compile again.
2002-12-26 12:14:31 +00:00
junyoung
9f582c3342
Cosmetic changes to reduce diff against GENERIC.
2002-12-26 08:25:20 +00:00
junyoung
41313fe244
#<space>comment...
...
Pointed out by collver1 via PR#18468.
2002-12-26 08:21:56 +00:00
petrov
89143201f7
add db_dump_itlb.
2002-12-25 22:24:56 +00:00
petrov
70bd8bf51e
new function dump_itlb.
2002-12-25 22:05:10 +00:00
uwe
580c60b346
When scanning HP keyboard, disable output on all scan lines except the
...
one we are currently scanning. This is what Hitachi's sample WinCE
code does. Thanks to YAEGASHI Takeshi for pointing this out!
This makes same row chords work properly, most importantly
Ctrl-@, Ctrl-W, Ctrl-S, Ctrl-Alt-F1 (ctrl row), Ctrl-Alt-F3 (alt row).
2002-12-24 11:49:03 +00:00
pooka
87a74ecee8
Use crimereg.h definitions for the crime dog. Also, move watchdog
...
disable down the very last possible place in cpu_reboot.
from Chris Sekiya
2002-12-23 21:04:23 +00:00
pooka
8ecf5692ac
add bus_space_vaddr()
...
from rafal
2002-12-23 20:41:47 +00:00
pooka
0dd7013e7a
MACE register definitions
...
from Chris Sekiya
2002-12-23 20:05:06 +00:00
pooka
b31b740c2b
CRIME register definitions
...
from Chris Sekiya
2002-12-23 20:04:22 +00:00
pooka
1fcaee0848
add debug printf
...
from Rafal
2002-12-23 19:49:27 +00:00
pooka
2f32342d20
also create boot.ip32 with the entry point set to the IP32 load address
...
from Chris Sekiya
2002-12-23 19:31:24 +00:00
pooka
fb83173bb6
add some ethernet interfaces
...
from Chris Sekiya
2002-12-23 19:18:34 +00:00
jdolecek
fa3da541f9
update for added ktrsyscall() argument
...
XXX this should probably be converted to use trace_enter()/trace_exit(),
XXX the current code doesn't support systrace
2002-12-23 16:26:13 +00:00
pk
f8055a350c
* Use correct PC value for displaying the called function.
...
* Merge code to display non-kernel frames.
2002-12-23 13:21:10 +00:00
tsutsui
1bfd32c4f3
Fix pasto in comment.
2002-12-23 09:59:25 +00:00
pk
f953a01835
xcallintr() receive a clockframe *' argument, not a
trapframe *'.
...
Setup a DDB context for paused CPUs by defining a soft trap (T_DBPAUSE)
which uses the generic trap handler code to get the trapframe constructed
and then calls on a debugger-defined `suspend' routine.
2002-12-23 00:55:16 +00:00
pk
5c62f82bdf
Upon trap exit, update the trapframe with data for the running CPU rather
...
than the one which was the last target of the `machine cpu' command.
2002-12-23 00:42:37 +00:00
wiz
ea577b210e
Debugging is usually spelled with three gs.
2002-12-22 13:50:35 +00:00
ichiro
7bda39e405
Use generic_bs_wr_4 for writing region
2002-12-22 11:28:37 +00:00
ichiro
2c9ff5a338
Use generic_bs_sr_4
2002-12-22 11:24:07 +00:00
mrg
6ee482ef5b
change what 'hw.model' reports to be more inline with other netbsd ports, as
...
well as reporting the actual machine model & cpu, rather than first configured
CPU. changes for two machines are:
old:
hw.model = TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
hw.model = SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU
new:
hw.model = SUNW,SPARCstation-20 (TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU)
hw.model = SUNW,Ultra-1 (SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU)
as per discussion on port-sparc & port-sparc64.
2002-12-22 02:17:24 +00:00
gmcgarry
85dbe5f6c5
Make the DMA controller a separate device attached to intio. Intio
...
devices can use the DMA controller too.
2002-12-22 00:17:13 +00:00
gmcgarry
75851dc4ed
Make this compile with LOCK_DEBUG
2002-12-22 00:11:10 +00:00
manu
4a06119a9d
Pass the system call table to trace_enter() and ktrsys() so that it is
...
possible to use alternate system call tables. This is usefull for
displaying correctly the arguments in Mach binaries traces.
If NULL is given, then the regular systam call table for the process is used.
2002-12-21 16:23:56 +00:00
pk
4e0634669b
* xcallintr(): use cpuinfo directly again.
...
* nmi_soft(): remove most of the obsoleted requests.
2002-12-21 12:55:54 +00:00
pk
0408b1cbc8
tlb_flush_segment() and tlb_flush_region() now take a virtual address
...
argument instead of segment and region numbers.
2002-12-21 12:52:55 +00:00
pk
82815de0ad
Use xcall() to broadcast MMU TLB flushes.
2002-12-21 12:13:38 +00:00
pk
8dcde9f5b1
* cpu_hatch(): enable interrupts upon return from cpu_setup().
...
* interrupt trap: acquire the kernel lock only for interrupt levels <= PIL_SCHED
2002-12-21 11:57:41 +00:00
pk
1d8dc4daf2
* getcacheinfo_obp(): also initialise the cacheinfo i/d associativity fields
...
in the case of a unified cache.
* xcall(): slightly optimise the `wait for other CPUs' loop.
2002-12-21 11:48:55 +00:00