Commit Graph

104586 Commits

Author SHA1 Message Date
manu
873ed6f9ee Added support for Darwin's PowerPC-only system calls:
ppccalls, with system call numbers starting at 0x6000
fasttraps, with system call numbers starting at 0x7FF0

Because the Mach system call dispatching code has grown a bit
too much, introduce an inline function to handle it (mach_syscall_dispatch).

While we are there, remove the Mach and Linux includes from
arch/powerpc/powerpc/syscall.c and push them into
arch/powerpc/powerpc/{mach|linux}_syscall.c
2002-11-03 23:17:18 +00:00
matt
6d54e503b3 LP64 changes (copied from mips and changed CHAR_MIN/MAX to 0/0xffU). 2002-11-03 22:55:24 +00:00
matt
c89494d09b Change _MACHINE_foo_H_ to _POWERPC_foo_H_ 2002-11-03 22:36:22 +00:00
matt
6dc0eb390f Add LP64 bits (copied from MIPS). 2002-11-03 22:35:33 +00:00
matt
0d380378cf Add LP64 limits. 2002-11-03 22:23:59 +00:00
chris
61578bc307 Checkin new interrupt handling code for the footbridge.
This is based upon Jason's work on xscale.

Most of the interrupt handling code is now written in C using an asm stub to
call into the C code.

spl* now only updates a software mask, and does not update the hardware,
this should be much faster.

The new code works well on cats, it's untested on netwinder, but should work.

The code implements generic soft interrupts.

More work is still required to bring the isa interrupt handling code upto
scratch currently all isa interrupts are handled at IPL_BIO on the footbridge.
This may cause isa interrupts to be handled later than they should be.
I plan to fix this in the near future.
2002-11-03 21:43:29 +00:00
jdc
09f6c6a9cc Apply patch from Takeshi Nakayama on current-users which fixes problems
when trying to play audio CD's on some drives.  The original message was :

> In my analysis, rev 1.19 of cd_scsi.c used cd_scsibus_set_mode()
> instead of scsipi_mode_select(). cd_scsibus_set_mode() had the code
> which clear a data.header.data_length, but scsipi_mode_select()
> does not have. So we need `data.header.data_length = 0;' before
> calling scsipi_mode_select().

Fixes PR 7299 and probably PR 15155 and PR 16883 too.
2002-11-03 21:14:28 +00:00
chris
230469d2ae Remove an extra } 2002-11-03 21:12:27 +00:00
thorpej
15d3b348c9 Add LP64 limits. 2002-11-03 20:02:39 +00:00
chs
6348674004 merge pmap.h for all 4k-page motorola-MMU (or compatible) m68k platforms. 2002-11-03 19:56:27 +00:00
thorpej
9f9d6d33f4 Add LP64 types, limits, formats. 2002-11-03 19:55:23 +00:00
wiz
9a746b1751 Move close so that last ioctl is before close call.
Fix duplicate word in comment.
Based on patch from Christian Biere in PR 18902, with a style nit fixed.
2002-11-03 19:35:00 +00:00
thorpej
f8dceffac5 Add LP64 macros. 2002-11-03 19:24:55 +00:00
thorpej
c88320f8d7 Add LP64 types. 2002-11-03 19:22:00 +00:00
tsutsui
0cc3f14252 HP360 does not have L2 cache, so no need to define CACHE_HAVE_PAC for it. 2002-11-03 17:44:07 +00:00
thorpej
16084f1873 Add _LP64 types. 2002-11-03 17:43:07 +00:00
thorpej
c5adb2880e In the _MIPS_PADDR_T_64BIT case, only use "unsigned long long" if _LP64
is not defined.
2002-11-03 17:35:32 +00:00
wiz
ac9ef76efe Add NetBSD calendar file.
Dates supplied by Hubert Feyrer, thanks!
2002-11-03 15:53:41 +00:00
aymeric
2c00b82f68 We don't need sys/syscallargs.h here anymore. 2002-11-03 15:39:39 +00:00
bjh21
b9870fb26c Quieten lint a little. 2002-11-03 14:59:06 +00:00
nisimura
da22f42379 Add some informative comments about setrunqueue and remrunqueue. 2002-11-03 13:59:12 +00:00
nisimura
ad5b782866 Retire __HAVE_MD_RUNQUEUE from MD types.h and remove
setrunqueue/remrunqueue from locore.S.  C codes are
compiled a bit shorter and provide better DIAGNOSTICs.
2002-11-03 13:47:34 +00:00
nisimura
5a63303fc1 Add two PRiD values.
- 0x55 for NEC Vr5500.  ISA might be MIPS64.
- 0x38 for Toshiba TX79.  This has thirty-two 128bit GPRs while
maintaining 32bit only virtual address space.  Any of pointer related
registers have 32bit.
2002-11-03 13:16:11 +00:00
bjh21
bfd06a4ff0 Regen (Simtec USB). 2002-11-03 12:59:44 +00:00
bjh21
097f627f92 Add Simtec USB podule. 2002-11-03 12:58:15 +00:00
bjh21
0f452df06d Spelling correction in comment. 2002-11-03 12:46:29 +00:00
bjh21
8f720e45aa Move the pause to before the kernel is loaded, and allow the user to press
a key to provide extra options or to load a different kernel (much like
biosboot on i386).  This saves having to edit the fastboot file just to
boot single-user.
2002-11-03 12:45:29 +00:00
shiba
44b7622806 Support internal ADB keyboard of PowerBook 190,190cs.
The keyboard works fine now. I don't confirm working internal
ADB track pad.

But an internal IDE drive is not recognized, and
an internal SCSI host controller(sbc driver) don't work yet.
2002-11-03 11:04:35 +00:00
augustss
a098e7a97d Avoid lint complaints. 2002-11-03 09:57:40 +00:00
simonb
f8c2d639ce When printing out nodes of type "string", don't print anything if
sysctl() reports that 0 bytes were returned.

Reported by Matt Green with "sysctl hw.disknames" on a system with no
disks.
2002-11-03 07:06:06 +00:00
chs
95aae207e0 use a merged sys_machdep.c for all the motorola-MMU m68k platforms. 2002-11-03 02:29:37 +00:00
isaki
302149111d Place installation tools in RELEASEDIR/installation/misc.
- gzip.x, gz124x5f.lzh
 - rawrite.{x,doc,lzh}
2002-11-03 02:13:20 +00:00
isaki
b67132026b Place catman in RELEASEDIR/installation/misc. 2002-11-03 02:12:18 +00:00
mrg
34113a54bc redo the previous: it seems that the 2nd prom address value is ignored/useless
(it seems to be always zero), and that the channel & drive are encoded into the
first value as "channel * 2 + drive", so, look for this.
2002-11-03 01:54:45 +00:00
chs
42a0d8fa15 use "static __inline" instead of "extern __inline" so that we can
build without optimization.
2002-11-03 01:34:41 +00:00
chs
db6b326aab merge all the m68k copies of kgdb_machdep.c. 2002-11-03 01:11:58 +00:00
jdolecek
9d0bfe1097 reduce number of <'s in FatalOp debug print, to not get mistaken with
CVS conflict marker
2002-11-02 20:58:17 +00:00
chs
bcfb5eee88 enhance the common m68k db_memrw.c to handle read-only kernel text
and switch all the motorola-MMU m68k platforms to use it.
2002-11-02 20:26:36 +00:00
perry
5f042d3d69 add a comment on c99ism noting that the logic might be wrong but we
haven't yet decided on what combinations of -s and -S really are
intended to mean yet.
2002-11-02 20:14:10 +00:00
perry
22f5530a1a Make long long a c99ism, not a gnuism. 2002-11-02 20:10:16 +00:00
perry
cca1626bfa add c99ism(), by analogy to gnuism(), for c99 construct (un)warnings 2002-11-02 20:09:27 +00:00
provos
695ad5ee17 add support for regular expressions to be more flexible with policy string
matching.
2002-11-02 20:04:20 +00:00
chs
40e5b8394f finish conversion to the common m68k cacheops:
add support for machine-specific flavors of the ops for off-chip caches.
many thanks to Izumi Tsutsui for his help with this.
2002-11-02 20:03:04 +00:00
provos
c27faa29c9 performance improvement by omitting a redundant getcwd. 2002-11-02 19:57:02 +00:00
provos
98c03e54fd register pidname and signame translation for kill(2) 2002-11-02 19:49:21 +00:00
provos
c989923700 rename exported variables to avoid name space polution. 2002-11-02 19:43:27 +00:00
dbj
1d1cd19e5f use be32toh instead of ntohl, etc. 2002-11-02 19:31:09 +00:00
itojun
61eed162b2 cleanup ipsec.h dependency. commented by perry, sync w/kame 2002-11-02 19:03:44 +00:00
perry
c8815bffa1 1) egg, meet face. face, meet egg.
2) re-UL KERNBASE, but this time, protect it with #ifndef _LOCORE so we
   don't get a big kaboom in .S files.
2002-11-02 17:30:15 +00:00
jdolecek
7aca3aed62 retval is 'register_t *', not 'int *' 2002-11-02 17:05:19 +00:00