Commit Graph

29691 Commits

Author SHA1 Message Date
dbj 1b65d8fd30 fix single stepping and continuing from breakpoints in ddb 2001-12-27 10:32:23 +00:00
dbj 2bea447d60 sync the instruction cache even when only writing 2 or 4 bytes 2001-12-27 10:25:41 +00:00
shin 606f00a905 split VCED and VCEI. 2001-12-27 04:19:17 +00:00
shin d00d2e4bcb simplify VCED processing.
just write back and invalidate secondary cache line and fetch data again.
2001-12-27 04:03:37 +00:00
wiz 5514d0b117 bcopy/bcmp/bzero -> memcpy/memcmp/memset 2001-12-27 02:23:24 +00:00
thorpej 1ab1192459 Makefile for x86_64 includes and boot blocks. 2001-12-27 00:43:25 +00:00
thorpej 86a77080a5 Remove (incorrect) extern decl of emul_hpux. 2001-12-26 19:08:11 +00:00
thorpej 232c19df9d A statement must follow a label. 2001-12-26 19:00:31 +00:00
thorpej 63d3d9fe5a Multi-line string literals are not in ANSI C; don't use them. 2001-12-26 17:37:59 +00:00
minoura e36ba40641 Backout previous.
It was a garbage; atatat already commited the fix in another way.
2001-12-26 14:40:20 +00:00
ross 71c3eef663 include systm.h (for libkern.h (for ffs())) 2001-12-26 00:38:37 +00:00
chs ed160d6aac make this compile again after -ffreestanding. 2001-12-24 18:20:50 +00:00
chs c356097d58 use ELF instead of a.out symbols now. 2001-12-24 17:57:19 +00:00
chs e5b36c6564 typo in last. 2001-12-24 17:56:59 +00:00
chs c5fffebac0 needed for ELF, just include the m68k common header. 2001-12-24 17:56:31 +00:00
dbj d91a86f994 revert revision 1.13
this turns single stepping back off since it doesn't correctly work
note that without single stepping, several things do not work as
expected, including continuing from interrupts
2001-12-24 16:57:40 +00:00
augustss a6727606ec Add (commented out) wd at umass (for ISD adapters). 2001-12-24 13:47:13 +00:00
minoura 6894058edf ELF!! 2001-12-24 11:38:06 +00:00
minoura 09b4ffd576 ELF!!
Plus adopt my environment (TOKOCHAN is my development config as well
as an example).
2001-12-24 11:38:05 +00:00
minoura ebfadba677 ELF!! 2001-12-24 11:38:04 +00:00
shin 3e560d975e make YBASE and EPOCHYEAR tunable. 2001-12-24 01:22:50 +00:00
shin f22f06769c fix debug printf() format string. 2001-12-24 01:21:27 +00:00
thorpej 030d89cdf0 Use ANSI declarations for static inline functions, and give them
the __unused__ attribute.
2001-12-23 23:08:41 +00:00
takemura 2134fdcf5e Added SigmarionII serial port support.
(console onlty, interrupt is not supported)
2001-12-23 13:32:33 +00:00
shin bd62d7da4a decend into romboot. 2001-12-23 13:28:23 +00:00
shin 896f0cde82 simple boot loader for ROM
supported platform: LASER5 L-Router(L-Board)
2001-12-23 13:27:56 +00:00
takemura 490f777a1f Added Vr4131 support. 2001-12-23 13:10:46 +00:00
aymeric 186cb1ec17 include m68k a.out compatibility module so we can use
options COMPAT_AOUT_M68K
2001-12-23 12:01:12 +00:00
dbj ce516e4e69 add declaration of ipkdb_trap_glue 2001-12-23 08:25:27 +00:00
dbj 3ff5d761b8 restore msr on return from ddb, this allows single stepping 2001-12-23 08:19:44 +00:00
matt 5887cef210 Don't install boot.mop if ELF. 2001-12-23 02:21:35 +00:00
matt 0dab9a35b5 #include <sys/types.h> in case this is included before that was. 2001-12-23 02:21:03 +00:00
matt 238448b56b Make VAX kernels work again. Entry on vax is start, not _start. 2001-12-23 02:14:03 +00:00
chs 450ff86b66 convert luna68k to ELF. ok'd by nisimura. 2001-12-22 23:38:20 +00:00
cjep e76e91a051 Pull out csc Cumana SCSI II driver and note that it is not currently
working properly. This seems to have been the case for some time
(cf. PR #8924).
2001-12-22 23:17:35 +00:00
bjh21 00bd2cbdac Merge ast() and userret() between arm32 and arm26. The implementation used
is the arm32 one.
2001-12-21 22:56:16 +00:00
bjh21 73cedb8d55 Ensure that podulebus gets attached after unixbp, since it needs to know
whether the system has a unixbp to know what interrupt mask to use.
This could be cleaner.
2001-12-21 22:41:18 +00:00
jdolecek 845a3d15d2 rename (incorrect) SVR4_TRAP_CLOCK_SETTIME to SVR4_TRAP_GETHRESTIME - this
is what Solaris8 calls it
implement SVR4_TRAP_GETHRESTIME, though obviously only with microsecond accuracy

now clock_gettime(CLOCK_REALTIME, tp) works on Solaris8/i386
2001-12-21 07:02:23 +00:00
thorpej 36b6f0cf4a Clean up a little, bump KERNEL_VM_SIZE to 0x06000000 (we have that
much room -- from 0xf1000000 to 0xf7000000 [start of OFW]).
2001-12-21 00:23:17 +00:00
thorpej e091c2afd1 Add -Dsgimips to CPPFLAGS. 2001-12-20 20:30:59 +00:00
thorpej a6a5d9fa2b Use the correct version of va_arg() for _STANDALONE. 2001-12-20 20:29:09 +00:00
bjh21 b4b00796cd Fix a couple of obvious bugs in new code:
set_r15() needs to put the new value into R15, not the old one.
get_r15() can return using MOVS rather than MOV.
2001-12-20 17:45:31 +00:00
bjh21 449c8ab9e1 Remove a couple of outdated comments: arm26 kernels now use APCS-32, so
the I and F flags don't get restored on function exit.
2001-12-20 16:22:14 +00:00
bjh21 a938f3a7ee Remove some outdated comments: arm26 kernels use APCS-32 now, which
means they don't do silly things like restoring IRQ/FIQ disable bits
on function return.
2001-12-20 16:12:10 +00:00
uwe 084cc22e99 Define SPARC_PCI_DEBUG only if DEBUG is defined. 2001-12-20 11:38:52 +00:00
uwe 309e659bc4 Rewrite sbus_bus_mmap to conform to new signature and unbreak bus_space_mmap.
This fixes the problem with X server killing the kernel by writing to
the middle of physical memory instead of the frame buffer.
2001-12-20 07:53:59 +00:00
thorpej 014157862c * Share a common vector page between arm26 and arm32.
* Use a common set of exception handlers for all arm32 platforms.
* New FIQ framework based on discussions with Ben Harris, shared
  between arm26 and arm32.
2001-12-20 01:20:21 +00:00
thorpej bab6522cfb Delete MACHINE_ARCH assignment. 2001-12-19 18:35:35 +00:00
thorpej 4d3393a2c8 Remove the MACHINE_ARCH assignment. 2001-12-19 17:43:19 +00:00
minoura 7a7e9cfe7b Implement bus_dmamap_sync properly.
dma_cachectl is now used only for DMAC array chain.
2001-12-19 14:53:26 +00:00