tsutsui
4f9a822f1f
sync with news68k:
...
> Make sure machine and ${MACHINE_ARCH} symlinks created before make depend.
2003-11-27 16:19:16 +00:00
simonb
633d242cca
Add COMPAT_16.
2003-11-27 03:57:57 +00:00
nakayama
d7545baad1
"wd* at wdc?" is no longer needed.
2003-11-26 15:20:56 +00:00
bsh
ae462c19db
fix typo pointed out by Olivier Houchard. thanks.
2003-11-26 12:17:18 +00:00
rearnsha
445d91a12e
Reposition a couple of NOP instructions for better efficiency.
2003-11-26 10:31:53 +00:00
he
ea56bcee84
Hide the register number constants behind an _R_ prefix, and also
...
rename FPBASE to _FPBASE, so that we avoid polluting the user's
name space when e.g. <sys/ptrace.h> is included. Previously, the
PC symbol in mips/regnum.h would conflict with the declaration of
the external variable by the same name in termcap.h, as discovered
by the ``okheaders'' regression test.
2003-11-26 08:36:49 +00:00
simonb
2350e98506
Fix some white space nits.
2003-11-26 03:56:38 +00:00
simonb
19a9d14f26
Remove the prototype for the non-existent intr_md_register() function.
2003-11-26 03:55:38 +00:00
simonb
da33cec9b3
Need offset of ci_curpm in struct cpu_info on 4xx as well.
2003-11-26 03:51:39 +00:00
christos
a21fdf3b43
bye, bye _MCONTEXT_TO_SIGCONTEXT and vice versa.
2003-11-25 23:11:52 +00:00
jdolecek
2f13a5654b
throw in some default switch labels to pnpbios_update_dock_status(), so that
...
this compiles with PNPBIOSEVENTS option (such as with config DR-EVIL)
fixes kern/23564 by dheeraj reddy
2003-11-25 20:47:27 +00:00
cdi
d49bc81070
Use per-cpu pcb, curlwp and fplwp rather than global ones. This brings
...
GENERIC.MP configuration to a usable state.
Approved by petrov@.
2003-11-25 05:14:58 +00:00
simonb
2651b30a5b
Need to set/restore the PSR explicity in cpu_{set,get}mcontext() since
...
it is a different size in mcontext_t and "struct reg".
Problem spotted by Christos Zoulas.
2003-11-25 04:57:05 +00:00
he
512e98364a
I've been informed that any dependent targets on .BEGIN are
...
ignored. Fix the symlink creation for machine, mips, and pmax
accordingly.
Also, there's nothing .PHONY about the vers.c target, as far as I
can see, so I've removed that.
2003-11-24 23:29:54 +00:00
uwe
2d6cce4c99
Cosmetic: in sh_vector_generic use named label instead of numeric
...
label for the curlwp address. Same object code is generated.
2003-11-24 23:24:18 +00:00
cdi
02de9dde31
Call 'proc_trampoline_mp' from 'proc_trampoline' in a multiprocessor
...
configuration. Fix process locking. Approved by petrov@.
2003-11-24 20:41:15 +00:00
tsutsui
f37ddce7e8
Remove obsolete MD mcclock files.
2003-11-24 06:24:27 +00:00
tsutsui
e9dbe69e90
Set mcclock to BCD mode as before. Tested on 7248-133 43P.
2003-11-24 06:23:33 +00:00
uwe
0457f27ac6
Old sigcode (to be copied out to the bottom of the user stack) is only
...
necessary for COMPAT_16.
2003-11-24 04:59:24 +00:00
uwe
139976ff9c
Cosmetic: u_int32_t -> uint32_t in comments, trim trailing whitespace.
...
Add __KERNEL_RCSID.
2003-11-24 04:47:42 +00:00
uwe
ce26539142
Add __KERNEL_RCSID.
2003-11-24 04:16:51 +00:00
uwe
62410eae0a
Definition of __KERNEL_RCSID for asm files.
2003-11-24 04:07:22 +00:00
uwe
72a0bf93df
In db_disasm call get_ascii only if necessary.
2003-11-24 03:33:02 +00:00
uwe
0cfca60cdf
general_exception() now receives TEA as a third argument. For user
...
mode EXPEVT_ADDR_ERR_{LD,ST} traps pass it as ksi_addr, also use it to
decide if this is a SIGBUS (unaliged access) or SIGSEGV (kernel VA
access).
Report EXPEVT_TLB_PROT_LD as SEGV_ACCERR, not SEGV_MAPERR.
While here, consistently use standard uint32_t instead of u_int32_t.
2003-11-24 03:11:16 +00:00
uwe
721c1a1815
Pass TEA to general_exception. While here add a couple of comments.
2003-11-24 03:06:01 +00:00
chs
8205afea7d
de-__P, remove register, ansify.
2003-11-24 02:51:35 +00:00
uwe
9d0d2c7461
Implement siginfo for sh3.
2003-11-23 23:13:11 +00:00
chs
36ff370721
de-__P, remove register, ansify.
2003-11-23 17:09:29 +00:00
bjh21
18a0620f50
Sync acorn26 riscoscalls with acorn32 version.
2003-11-23 15:55:03 +00:00
bjh21
f68440c42d
Remove a spurious commented-out line.
2003-11-23 15:28:03 +00:00
bjh21
b6c0709c09
Rename os_CLI() and xos_CLI() to os_cli() and xos_cli() for consistency with
...
everything else.
2003-11-23 15:24:20 +00:00
bjh21
6ed8fd9689
Remove spurious whitespace.
2003-11-23 14:13:42 +00:00
bjh21
d8b0dd8a97
Create the "machine" and "arm" links directly from the .BEGIN rule, rather
...
than in dependencies of it, since .BEGIN is apparently only special for
its commands, not its dependencies. This should get boot26, and probably
boot32, compiling again.
2003-11-23 13:34:07 +00:00
taca
c6f4b234b4
Move initialization of ssym' and
esym' to inside of
...
#if NKSYMS || defined(DDB) || defined(LKM) ... #endif.
Now GENERIC and INSTALL kernel can be compiled again.
2003-11-23 08:54:57 +00:00
tsutsui
3aa8405cb9
Regen from diodevs rev 1.7:
...
> Change device ID for 98624A HP-IB from 0x80 to 0x01.
> nhpib.c in Lite2 used 0x01 and my 98624 also has an ID 0x01.
2003-11-23 01:59:25 +00:00
tsutsui
ff8bdea2e8
Change device ID for 98624A HP-IB from 0x80 to 0x01.
...
nhpib.c in Lite2 used 0x01 and my 98624 also has an ID 0x01.
2003-11-23 01:57:35 +00:00
tsutsui
31cf2e3911
Suppress uninitialized warnings.
2003-11-23 00:09:11 +00:00
tsutsui
919cc25d24
Add an entry of "com0 at dio0 scode 9" so that /dev/ttyC0 and
...
compat symlink (/dev/tty0) are always reserved for DCA serial.
2003-11-22 17:24:29 +00:00
uwe
94c8b6c69f
Add _UC_SETSTACK, _UC_CLRSTACK flags. Add __fpr_fpul to __fpregset_t
...
and redefine __fpr_regs as an array of 32 ints (SH3E has 16, SH4 has
32 32-bit FP registers) to reserve the space for FPU registers - we
will properly redefine this as a union when we do support FPU.
2003-11-22 17:05:53 +00:00
sekiya
20d207b125
Add (commented out) dpclock for ip22 and blinkenlitzen for ip32.
2003-11-22 15:08:44 +00:00
fvdl
6f7ba6556b
Add and enable sk/skc drivers.
2003-11-22 14:20:47 +00:00
sekiya
f93f583751
Register definitions for National Semiconductor DP8573A RTC. Code originally
...
from Steve Rumble, with modifications by myself.
2003-11-22 04:01:01 +00:00
sekiya
8e5c74aa34
Add dpclock driver (and minimal hpc1 goo) for ip20.
2003-11-22 03:58:52 +00:00
sekiya
a7c36d873f
Add dpclock driver (and minimal hpc1 goo) for ip20. Code originally
...
from Steve Rumble, with modifications by myself.
2003-11-22 03:58:51 +00:00
sekiya
6cd8f56df9
Add ip20.c
2003-11-22 03:39:35 +00:00
sekiya
d11f147850
Add initial ip20 (Indigo) support. hpc1 code to follow. Code originally
...
from Steve Rumble, with modifications by myself.
2003-11-22 03:35:44 +00:00
matt
99f7a6b7db
More PPC64 changes. (latent for now).
2003-11-21 22:57:14 +00:00
tsutsui
3fb3c2b562
Revert previous DPRINTF changes since gcc3 properly removes text strings
...
in while(0) statements during optimization.
2003-11-21 19:44:53 +00:00
tsutsui
604d3c43a9
Make sure machine and ${MACHINE_ARCH} symlinks created before make depend.
2003-11-21 19:39:19 +00:00
matt
d765841d3e
Restore ci_curpm since it re-enables 603 to working state.
2003-11-21 18:07:29 +00:00