Commit Graph

25816 Commits

Author SHA1 Message Date
reinoud 1a53c63fd7 Finally implemented the moving VIDC chip; this solves the red colour too at startup
for RiscPC, A7000 and RC7500. A better solution should be made but is currently
unavailable for all the VIDC stuff isnt using bus_space at all...
2001-02-25 17:17:55 +00:00
bjh21 716d92bdc2 COPY_SIGCODE is never referenced in the kernel, and the comment attached to it
is out of date. Assume it's obsolete and g/c it.
2001-02-25 17:04:54 +00:00
msaitoh 526ce203e7 check __LEADING_UNDERSCORE instead of __sh3__ 2001-02-25 15:49:58 +00:00
toshii 64d5dfd570 Use MI md_root.c. 2001-02-25 15:45:23 +00:00
bjh21 96b16f75a6 Hack to allow arm26 to have its own "cpu" device. This device should really
be shared between all ARM ports, but the arm32 one is too ugly for me to
touch it till I've got a test system running.
2001-02-25 15:33:33 +00:00
bjh21 6f2aa0d0ba Allow "cpu" to have children. In the long term, this may be the best way to
handle co-processors.  In the short term, it's a necessary hack to get arm26
kernels to configure.
2001-02-25 15:31:39 +00:00
mrg dc3c3a7bdd re-add. 2001-02-25 14:56:47 +00:00
mrg c4b3d490bb delete (again), then add (again) ? 2001-02-25 14:56:01 +00:00
mrg af19a7de64 try a `cvs ci -f' to make this appear on the trunk again. no changes. 2001-02-25 14:47:22 +00:00
jdc 8a32449594 Make sure root sector checksum is invalid if we clear it.
Set size of XGM partitions on auxilliary roots correctly.
From Leo Weppelman.
2001-02-25 14:33:19 +00:00
jdc b2b6b2d9f7 Include <stdio.h> when built with -DDEBUG. 2001-02-25 14:32:59 +00:00
jdc 4a4d440928 Root sector checksums are not always valid, so ignore them.
From Leo Weppelman.
2001-02-25 14:32:20 +00:00
jdc 5c57e3ce2c Make it easier to build with -DDEBUG. 2001-02-25 14:31:53 +00:00
tsutsui 7b88ea28ab Remove unneeded COMPAT_HPUX stuff. 2001-02-25 13:33:54 +00:00
tsutsui 4cd9aa3b6c Sync with x68k:
Use m68k_page_offset and m68k_trunc_page macros,
 instead of using PGOFSET directly.
2001-02-25 13:28:31 +00:00
takemura 074b36937c Make it compilable, syncing with the relocation of the platid stuff. 2001-02-25 12:58:36 +00:00
matt e7811ad9b6 Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
dumpsys is still port-specific for now.  XXX dumpsys is still a stub
on all powerpc ports.
2001-02-24 22:39:16 +00:00
reinoud 142f62c206 Moved the mainbus files to the arm/conf/file.arm from the arm32 and the
hpcarm/conf/files.hpcarm
2001-02-24 21:43:01 +00:00
reinoud 7535275b7c Fixed the `slow printing' bug that occured with debugged kernels on RiscPC's.
When the IOMD isnt mapped and all is mapped 1:1 a read gives garbage and thus
the obscure feature that slows down printing (or halts it!) when the mouse
button is pressed during output to the vidcconsole gets allways activated.

Included a simple flag that signals if the IOMD is mapped; the delay routine
won't check the mouse if this flag is still clear.
2001-02-24 21:29:38 +00:00
uch 0cc08093fd enable wscons. 2001-02-24 20:17:45 +00:00
reinoud e89d229692 Make hpcarm compile again after movement of mainbus code 2001-02-24 20:13:59 +00:00
reinoud 1267afb3b6 Make lm audio for RiscPC compile again 2001-02-24 20:12:40 +00:00
reinoud b7b1d6b636 Make rc7500 compile again 2001-02-24 20:11:08 +00:00
reinoud 78a1b11faf Make arm32 RiscPC compile again 2001-02-24 20:08:53 +00:00
reinoud 286f491040 Changed an innocent looking but pretty expensive table walking in pmap.c
from DIAGNOSTIC to PMAP_DEBUG
2001-02-24 20:04:42 +00:00
uch f4cdccec01 Jornada 690 keyboard driver (matrix switch connected SH3 PFC module) 2001-02-24 19:58:00 +00:00
uch 0bb888c2e4 s/hpcmips/hpcsh/ 2001-02-24 19:47:21 +00:00
reinoud f583057770 Repaired a syntax fault in the files.[hpcarm,arm32] 2001-02-24 19:43:50 +00:00
reinoud 086a93939c Part 2 of merge.... the dissapearance of mainbus from arm32 and hpcarm;
these parts were a 100% the same and i've included the extensions made by
hpcarm in the tree.
Checked for occurence of MD parts; none found.
2001-02-24 19:38:01 +00:00
eeh 85cffb544d Improve legibility and iommu_dvmamap_sync(). 2001-02-24 18:49:06 +00:00
toshii ce7d8943e9 Use hardware address for saost. 2001-02-24 12:52:02 +00:00
toshii 735cec473d Remove unneeded hardcoded IO mappings. 2001-02-24 12:48:58 +00:00
toshii 6fee490e68 Use working bus_space_map. 2001-02-24 12:43:52 +00:00
toshii dfe9d2faf7 Implement bus_space_map(). 2001-02-24 12:41:20 +00:00
ichiro 9eeb0264fd change com-speed to 19200.
default com-speed of hpcboot are 19200
2001-02-24 11:08:31 +00:00
toshii f46f7e3e62 Make hpcarm kernel compile again. 2001-02-24 09:58:43 +00:00
ichiro d3ce44c170 some include files added newly write into Makefile. 2001-02-24 07:24:36 +00:00
ichiro ba1664c1f3 add profile.h,profileio.h 2001-02-24 07:16:51 +00:00
ichiro b84bcefc8e i forgot writing some include files in Makefile 2001-02-24 07:09:20 +00:00
matt 45f666cb9d Remove setregs since it now lives in powerpc/powerpc/powerpc_machdep.c 2001-02-24 04:35:33 +00:00
matt aba3f2655a Add powerpc/powerpc/powerpc_machdep.c 2001-02-24 04:30:42 +00:00
matt 559cea4b1c Since setregs is common among all the powerpc ports,
make a common version and put it in powerpc_machdep.c
2001-02-24 04:29:26 +00:00
lukem 3aeb5f2f29 whitespace police 2001-02-24 01:59:46 +00:00
lukem acec2828d9 whitespace police 2001-02-24 01:34:28 +00:00
matt e7db94d39f if we panic to a bad/illegal irq, at include the invalid irq value in
the panic message.
2001-02-23 23:07:15 +00:00
bjh21 6b7ad3aa3e __HAVE_NWSCONS and __HAVE_DEVICE_REGISTER are MACHINE-dependent. 2001-02-23 22:02:43 +00:00
reinoud 92493b7a32 Missed this file in the merge due to a typo ! 2001-02-23 21:27:46 +00:00
reinoud c1f753f9b4 Big patch for merging common include files of the new hpcarm tree and the old arm32
tree into the new arm substree. All moved files are relinked with a stub that included
the file from the new location; this might be done better later.
2001-02-23 21:23:45 +00:00
uch b81de58f77 I forgot to move Makefile. 2001-02-23 14:08:54 +00:00
nisimura 4934987175 Make sure to have sfbp.h and add sfbp* line in TCWSCONS left #ed-out.
Pointed by Matthew Jacob <mjacob@feral.com>.
2001-02-23 07:21:41 +00:00
ichiro 5137cda306 delete local-ID for cvs 2001-02-23 04:31:18 +00:00
ichiro c98cd6c023 hpcarm:
kernel for StrongARM-based WinCE PDA machine.
2001-02-23 03:48:06 +00:00
bjh21 090dc051cf Reduce the amount of memory allocated for assembler fragments.
Excise unnecessary instructions from kernel launch code.
Increase HIMEM on >8Mb machines, since the last two changes didn't free
enough memory to boot with 16Mb.
2001-02-23 00:27:40 +00:00
eeh 121d97c255 Somehow this didn't get checked in with the rest of the SVR4 64-bit fixes. 2001-02-22 22:08:06 +00:00
uch 659f65e0ee hpc common files are moved to dev/hpc. 2001-02-22 18:37:54 +00:00
msaitoh f4b23a11a4 fix a check code whether mkbs is console or not 2001-02-22 15:34:28 +00:00
nisimura 062c4f6e22 Add code segment for PMAGD, which is under development this moment. 2001-02-22 07:46:01 +00:00
chs a95226826d switch sun3 to ELF. highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.
2001-02-22 07:11:08 +00:00
lukem a1602a24ec don't assume that all the arguments to ctags will fit on one command line
(as is the case with a longer SYSDIR)
2001-02-22 04:40:43 +00:00
eeh a72ee87980 Add support for 64-bit SVR4 (Solaris 8) binaries. 2001-02-21 23:53:00 +00:00
jdolecek f6d22f21da usr1handler(): fix the logerror() call, use string 'shut' 2001-02-21 22:55:51 +00:00
jdolecek efd32026ab make default_consinfo and kgdb_devname[] const 2001-02-21 22:52:03 +00:00
jdolecek 522f569810 make some more constant arrays 'const' 2001-02-21 21:39:52 +00:00
bjh21 352dfb6c36 Update to support VFP formats. Also a half-hearted attempt at armeb support.
Note that I'm using __VFP_FP__ to indicate compilation with VFP-format
floating-point data.  There doesn't (currently) seem to be a standard define
for this purpose.  __VFP_FP__ was suggested by Richard Earnshaw.
2001-02-21 17:43:50 +00:00
bjh21 887895c344 Add CPU_ID_CPU_MASK. Different, but (I hope) more useful definition than
arm32 currently uses.
2001-02-21 17:41:58 +00:00
uch e0a4623854 move disksubr.c define to machine-port. 2001-02-21 16:42:04 +00:00
uch 8b060aaf64 hpc* common disksubr.c 2001-02-21 16:34:00 +00:00
uch 3cfa37d7da HD64461 support. 2001-02-21 16:28:02 +00:00
uch df98929e3b more diagnostic message. (SH3)
add framebuffer information (ARM)
fix boot parameter bug. (-b=sd0)
2001-02-21 16:01:52 +00:00
uch df5e8f68d8 HD64461 driver (SH3 companion chip for Windows CE) 2001-02-21 15:39:09 +00:00
uch bedd081460 add HP Jornada 720, Compaq iPAQ H3600 entry. 2001-02-21 15:04:40 +00:00
uch 8ce0133cc8 add SH7709/SH7709A I/O port register define 2001-02-21 14:49:53 +00:00
minoura b675f941fe Use m68k_page_offset and m68k_trunc_page macros,
instead of using PGOFSET directly.
2001-02-21 12:39:16 +00:00
wdk 581542f31f Return microtime of zero if not available at early stages of device
autoconfiguration.
2001-02-21 09:46:54 +00:00
wdk 935036cf94 Remove superfluous #include added in previous commit 2001-02-21 09:20:56 +00:00
wdk 8e130c9227 Document KGDB options 2001-02-21 09:14:33 +00:00
wdk 85f0f12a55 Changes for KGDB 2001-02-21 09:12:14 +00:00
wdk 07bb8e7a23 Call KGDB hook function 2001-02-21 09:10:42 +00:00
wdk 6d8f58da18 Add zs_kgdb.c driver 2001-02-21 09:09:54 +00:00
wdk 8a5e278439 Glue functions for KGDB support 2001-02-21 09:08:35 +00:00
minoura 943f21e2c5 Remove some redundant decls.
Fix some nested decls.
2001-02-21 05:53:35 +00:00
minoura daa78d567e Make this compile again. 2001-02-21 05:44:32 +00:00
chs 044409a035 reduce PAGER_MAP_SIZE to 4MB, we're short on KVA. 2001-02-21 02:43:02 +00:00
nisimura 573fd4fa4d Make sure to have rnd pseudo device. 2001-02-21 01:44:44 +00:00
reinoud ed2535fabd Changing rc7500 for naming change of vidcvideo to vidcconsole 2001-02-21 00:55:34 +00:00
reinoud 926ac33ffb Add newly renamed file for transition to new naming
vidcrender.c  is old vidcconsole.c
  vidcconsole.c is old vidcvideo.c
2001-02-21 00:53:36 +00:00
reinoud 37eca554a2 vidcvideo rename phase 2 : getting it to build again; tested ok 2001-02-21 00:51:26 +00:00
cgd c2bdafab79 use getprogname() 2001-02-20 23:51:59 +00:00
reinoud 23d7dbe67e Updated documentation about the bootloader 2001-02-20 22:58:34 +00:00
reinoud f1d3c5daa6 Renamed vidcvideo configure option to vidcconsole wich covers the function
better and allows to clean up vidc tree by enabling the use of the term
vidcvideo for what it is : configuring video independent of choise of console
to allow implementation of wscons for RiscPC/A7000 and RC7500.
2001-02-20 22:49:55 +00:00
martin f0d6660cf4 Filename cleanup: remove i4b_ prefixes outside sys/netisdn, last round.
Renamed in sys/dev/ic:
i4b_hscx.c -> hscx.c
i4b_hscx.h -> hscx.h
i4b_ipac.h -> ipac.h
i4b_isac.c -> isac.c
i4b_isac.h -> isac.h
i4b_isic.c -> isic.c
i4b_isicbchan.c -> isic_bchan.c
i4b_isicl1.c -> isic_l1.c
i4b_isicl1.h -> isic_l1.h
i4b_isicl1fsm.c -> isic_l1fsm.c
2001-02-20 22:24:31 +00:00
is fcc944a0c5 Clean up messages, and replace nested ifs by switch statement. 2001-02-20 21:55:00 +00:00
minoura 013971b69b include sunos_exec.h to declare emul_sunos.
From syssrc/sys/arch/news68k/news68k/trap.c:1.12.
2001-02-20 15:55:08 +00:00
minoura 0e8197960f Remove phys_map declaration, which is in <uvm/uvm_extern.h>.
From syssrc/sys/arch/news68k/news68k/vm_machdep.c:1.6.
2001-02-20 15:54:29 +00:00
minoura a7d2590bf0 Fix some nested extern declarations.
From syssrc/sys/arch/news68k/news68k/machdep.c:1.16.
2001-02-20 15:53:27 +00:00
tsutsui 968d0f81c6 Adjust only avail_end address rather than reduce
the last bank size of avail_mem[] so that all RAM area
will be dumped in dumpsys().
2001-02-20 12:52:57 +00:00
marcus 7d1d4a2f4d New, interrupt-driven implementation. 2001-02-20 00:04:40 +00:00
marcus 143a120848 Added GDROM interrupt support at IRQ9 (need to clean this up...) 2001-02-20 00:03:53 +00:00
cgd 8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
marcus 037484799a PAL support... 2001-02-19 21:37:31 +00:00
msaitoh c090c1cfe5 temporary fix a serious pmap problem with dummy PMAP_{MAP,UNMAP}_POOLPAGE().
To fix correctly, set IOM_RAM_BEGIN with P0 addr instead of P1 addr and
fix machdep.c and pmap.c.
2001-02-19 17:51:22 +00:00
reinoud 68eaed4e53 Extended monitor file definition for AKF 85 (Phillips Brilliance 17'')
Some extra modes added and changed some mode definitions to better suit
my monitor.
2001-02-19 16:46:42 +00:00
bjh21 d03f5eac72 Some of this code is based on an old version of BBBB -- update the copyright
message to indicate this.
2001-02-19 15:54:16 +00:00
reinoud 73254cd1f4 Import of newest version ... checked for correct importing now ....
The import script needs some sophistication but its ok now...
2001-02-19 15:28:13 +00:00
reinoud 64ceee1d67 Fixed CVS directory overwriting by deleting it in the copy first; this to
prevent import trouble due to messed up CVS directories.
2001-02-19 14:32:45 +00:00
reinoud 0a46ddf1e2 Changed export script so it doesn't kill the CVS directory :) 2001-02-19 14:26:41 +00:00
reinoud e263b21061 Another bug ... the extract archive wasnt build in the correct directory 2001-02-19 14:18:24 +00:00
reinoud f3b8ca18f1 Fixed a small bug in the export script 2001-02-19 14:15:42 +00:00
reinoud 0085973034 Import of the new RISCOS bootloader in the CVS tree with import and export scripts.
Start version is v 0.91
2001-02-19 14:09:00 +00:00
bjh21 d7fca27e58 Garbage-collect vestigial support for the Simtec Hydra board. The main code
to support it was never committed to the tree, and it would probably need
major reworking anyway.
2001-02-19 13:29:39 +00:00
bjh21 504ce207cb Make the kenrel base address a variable. 2001-02-19 13:26:17 +00:00
jmc 106522ed47 Add -f option. If used it will perform the low level block operations on the
file rather than requiring a raw device. Useful when dealing with vnd's
images and building snapshots. Also allows snapshots to be built in
securelevel > 0.
2001-02-19 06:23:55 +00:00
simonb d669e1cea8 Fix tyop. 2001-02-18 22:32:32 +00:00
chs c5030d24f4 rename round() to fpu_round() to avoid a name conflict with
the "round" assembly function in FPSP when building with ELF.
2001-02-18 20:05:58 +00:00
is 7880a89379 Initial version of interupt handling, by Adam Ciarcinski. 2001-02-18 19:08:15 +00:00
ragge 195dd4efe6 Make the machine halt when halted and reboot when rebooted.
From Shinmyoh Koji (yesu@rb3.so-net.ne.jp).
2001-02-18 16:56:22 +00:00
reinoud 5fa30a864f fixed naming bug :( ... I should be more carefull 2001-02-18 12:42:31 +00:00
reinoud 7665787d5e Fix to solve PR arm32/9208 "RiscPC reboot hangs"
Due to the StrongARM support code in the cpu_reset() MC-function,
an instruction was executed to drain the write back buffer on StrongARM
processors (might even be armv4+).

Since ARM{6,7} don't recognize this instruction they will either except
for an illegal instruction on this or have undefined behaviour resulting
in an endless illegal instruction/data abort/reset behaviour.

The fix contains a flag that signals if the WB flush should be executed
or not for the detected processor.
2001-02-18 12:21:02 +00:00
ragge aa13a12702 Support to control the leds on VAXstations, taken from Sun3 and ported
to vax by Shinmyoh Koji (yesu@rb3.so-net.ne.jp).
2001-02-18 10:44:20 +00:00
tsutsui 5a0f904718 cosmetics (white space etc.) 2001-02-18 06:51:18 +00:00
tsutsui e3180dc477 Enable options NFS_V2_ONLY and VNODE_OP_NOINLINE. 2001-02-18 05:24:43 +00:00
matt ab4ef9dcf6 Add devsw entries for "ld" (logical disks). 2001-02-18 04:55:37 +00:00
reinoud 9dd76bf15d Updated the bootloader for RiscPC/A7000/NCs etc. remains compatible with the old bootloader by an COMPAT_OLD_BOOTLOADER option 2001-02-18 00:59:33 +00:00
reinoud 3043022c3a Added extra kernel vm by moving up vidc space 2001-02-18 00:56:42 +00:00
reinoud a598ade96e Updated MAGIC number for new bootloader 2001-02-18 00:55:31 +00:00
reinoud 00b4361e08 Add compatibility option for old bootloader 2001-02-18 00:54:02 +00:00
bjh21 ab20625e49 Lint doesn't like zero-sized structs. 2001-02-17 20:07:01 +00:00
bjh21 3dbffcc29f Move the RAM base address of the kernel into a variable.
Set CPPFLAGSm CWARNFLAGS and STRIPFLAGS to the same as arm32 uses.
2001-02-17 19:38:36 +00:00
bjh21 503e69a88a Don't define pmaphistbuf unless UVMHIST is defined. 2001-02-17 19:09:51 +00:00
bjh21 33c7eb2382 Add necessary DDB includes. 2001-02-17 19:08:21 +00:00
bjh21 4acea3a8cc Don't do arithmetic on void *s. 2001-02-17 19:04:36 +00:00
bjh21 2e041e883b Correct return type of arcvideo_show_screen(). 2001-02-17 18:45:19 +00:00
bjh21 b211962232 Include <machine/machdep.h> for update_memc(). 2001-02-17 18:43:13 +00:00
bjh21 575fa5e5af #ifdef out arckbd_pick_layout until we get round to using it again. 2001-02-17 18:39:11 +00:00
tsutsui 47ac3d6b45 include sunos_exec.h to declare emul_sunos. 2001-02-17 18:34:57 +00:00
tsutsui 69e6648be8 Remove phys_map declaration, which is in <uvm/uvm_extern.h> 2001-02-17 18:29:55 +00:00
tsutsui f5d8c46be6 Remove unused fb stuff. 2001-02-17 18:21:03 +00:00
tsutsui 96c8c181ee Fix some nested extern declarations. 2001-02-17 18:15:18 +00:00
tsutsui 1bbd89c7a7 white space nits. 2001-02-17 18:02:40 +00:00
bjh21 a72248beab Reduce unnecessary differences between this and Makefile.arm32.
Also (more significantly), use the compiler's default -mcpu setting.  This
means I can now build APCS-32 kernels.  They work, too.
2001-02-17 17:23:48 +00:00
mrg 5713cce1e0 sync with reality. 2001-02-17 16:29:13 +00:00
bjh21 32a800e5c0 Install <arm/endian_machdep.h>. 2001-02-17 14:57:08 +00:00
bjh21 8b601afaf3 Re-introduce <arm/endian_machdep.h>, this time using GCC's idea of the target
endianness.
2001-02-17 14:55:44 +00:00
sakamoto 4185cbf85c fix multiple link vers.o 2001-02-17 11:11:13 +00:00
tsutsui a411302ed3 Include files.usb 2001-02-17 04:32:59 +00:00
tsutsui f47d2bae91 Fix include path.
(mips/include/mips_opcode.h -> mips/mips_opcode.h)
2001-02-17 04:31:25 +00:00
tsutsui 750774cded Add new arctype for NEC Express5800/230A.
XXX: we should have "sysconf" structures like pmax.
2001-02-17 04:27:53 +00:00
pk d850f6f9d2 Remove check for encoded iospace/nocache bits within physical addresses
in places where they can't possibly occur as the PA is for a VM managed
page.
2001-02-16 23:00:11 +00:00
soren 427b112ded LKMs don't work on MIPS yet anyway, so disable it for now. 2001-02-16 19:48:05 +00:00
soren 87ba37da21 Nuke. 2001-02-16 19:47:36 +00:00
eeh b0e3d231c4 Define VM_MASUSER_ADDRESS32. 2001-02-16 16:00:29 +00:00
sato ed219529f5 * vrc4172pwm_light(): workaround when brightness is max.
if light turn off, brightness must be minimum.
* more DPRINTF().
2001-02-16 12:31:46 +00:00
marcus b5f05acab7 Removed LED_ADDR (Dreamcast doesn't have program controllable LEDs). 2001-02-15 18:30:31 +00:00
scw 23cf8fe52b Add a missing _ASM_LABEL() 2001-02-15 11:49:25 +00:00
sato 6602ad15b5 * show framebuffer address in boot time. 2001-02-15 09:17:18 +00:00
sato bcece69eb6 * add MC/R430/530/530A parameters in vrc4172pwm_platid_param_table.
* fix typo in cf_loc access.
* add some DPRINTF()s.
* fix default value if no params in vrc4172pwm_platid_param_table.
2001-02-15 03:20:10 +00:00
is dd234724b6 Print out IPL. 2001-02-14 21:05:31 +00:00
is 1f9f72f6df Missing: register prefixes, _FOO_LABEL(n) macros, etc, in preparation for
ELFing the port. Patch provided by scw.
2001-02-14 20:24:17 +00:00
msaitoh 47410d3a5a sync with Makefile.mmeye.in for ELF 2001-02-14 18:06:50 +00:00
msaitoh 2633a5dcb5 _C_LABEL() 2001-02-14 17:57:31 +00:00
itojun 818f432bec have rnd(4) 2001-02-14 04:57:44 +00:00
itojun cd32aa4b95 have rnd(4). 2001-02-14 04:49:45 +00:00
nathanw 3862a24d20 Remove prototype for long-defunct i386_user_cleanup().
Remove duplicate prototype for i386_{set,get}_ldt() from sys_machdep.c.

Change i386_iopl() and i386_{set,get}_{ldt,ioperm}() to take a second
argument of "void *" instead of "char *", for consistency with other syscalls.
2001-02-14 01:29:45 +00:00
bjh21 9b6de1da90 Move cpu_coredump() from arm32/arm32/vm_machdep.c to arm/arm/vm_machdep_arm.c.
Also ANSIfy it and use it on arm26.
2001-02-13 22:54:25 +00:00
bjh21 7b820f85da Fix to compile with current ne2000.c: ne2000_attach() now only takes two
arguments.
2001-02-13 19:17:13 +00:00
bjh21 f942342607 Fix a typo in the last change (eh_init_media -> eh_media_init). 2001-02-13 18:20:57 +00:00
pk 063b190de9 Hold off supplying the text/data gap to the VM manager; our pv table
handling isn't adequate yet.
2001-02-13 15:54:33 +00:00
simonb e07c392eed Fix typo in header filename. 2001-02-13 14:11:30 +00:00
pk e547d3816d pmap_page_upload(): check if `etext_gap' is there, just in case. 2001-02-13 13:48:15 +00:00
bjh21 284047a2b2 Move sendsig() and sys___sigreturn14() from arm26/arm26/vm_machdep.c and
arm32/arm32/machdep.c into arm/arm/sig_machdep.c, merging and ANSIfying in
the process.

The code is based on the arm32 version, so I don't think anything should break
there.
2001-02-13 13:19:52 +00:00
bjh21 4e460028dc Since idle() turns up in so many stack backtraces, put it in the global
symbol table.
2001-02-13 13:16:37 +00:00
jmc 5b5b0dfdcb Add back proginstall rule so this doesn't get it's a.out header removed. 2001-02-13 03:08:54 +00:00
briggs d5cb949785 Install int_types.h, too. 2001-02-13 01:12:56 +00:00
bjh21 82bf8a9d0a Avoid uninitialised variable reading /dev/mem. 2001-02-12 23:29:08 +00:00
pk 460bc0a0fc Recover the ~64KB gap in between the text/rodata & data segments that's being
generated by the linker in sparc/ELF images. The physical pages in this gap
are unmapped from the kernel and given to the VM manager.
2001-02-12 22:02:58 +00:00
briggs d8cd14d437 Rip the guts out of pmap_remove() and create pmap_do_remove(), called with
a flag that determines whether or not wired mapping should be removed.
pmap_collect() calls pmap_do_remove() without this flag, and pmap_remove()
calls with it.
Pointed out on port-mac68k with suggested fix from chs.
2001-02-12 22:00:08 +00:00
pk d713d112c9 Provide symbol `kernel_data_start' as the first address in the .data segment. 2001-02-12 21:56:54 +00:00
manu 472596699d Removed a copyright for code I have removed in a previous commit 2001-02-12 21:20:32 +00:00
thorpej 043e519d55 Adjust the way that media is initialized on DP8390-compatible
chips.  The dp8390_softc now has media_init and media_fini
function pointers that do the work.
2001-02-12 18:49:03 +00:00
mrg f9c371eea3 type cleanups. 2001-02-12 16:07:38 +00:00
tsutsui f3b589fc41 - Add options NTP (sync with GENERIC)
- Fix ident (s/GENERIC/TCWSCONS/)
2001-02-12 12:55:18 +00:00
minoura 1f30e6db74 Correct typo (s/unit/unix/). 2001-02-12 12:32:23 +00:00
shin fb20946774 keep V0 value (system call number) and restore it in exception frame,
when error is ERESTART. otherwise, user process will re-issue syscall
with broken system call number and get SIGSYS signal and terminate.

patch made by Jason R Thorpe <thorpej@zembu.com>. tested by me.
2001-02-12 10:32:14 +00:00
briggs 7d1c46375d Switch from commented-out ncr* at pci? to commented-out siop* at pci?
Add option PCI_NETBSD_CONFIGURE to cause NetBSD to configure the PCI bus.
2001-02-12 06:12:18 +00:00
briggs 2e4e3c3f6f Include MII files. 2001-02-12 06:10:42 +00:00
briggs 0b356043df Make this look more like other PPC bus_dma.cs 2001-02-12 06:02:25 +00:00
briggs 89a374bf89 Supply a pci_bus_dma_tag.
Use intr_establish()/intr_distestablish() instead of calling through ISA
routines.
Supply a pci_conf_interrupt() function to assign interrupt lines for the
bus configuration.
2001-02-12 06:01:46 +00:00
briggs a738974d0c Do PCI bus configuration before we config_found() on mainbus. 2001-02-12 05:58:55 +00:00
manu 16bc5b4004 Moved the fix for negative errno returned to userland on the PowerPC to a
more machine independent fashion
2001-02-11 20:24:49 +00:00
ragge 4e155d4593 Check page reference in pmap_clear_reference(). Fixes vax hang problem
with ubc, tested by Chuck Silvers.
2001-02-11 19:25:55 +00:00
chs 2ff77ab154 fix REALBASEMEM/REALEXTMEM and defopt them while we're at it. from jason. 2001-02-11 19:03:47 +00:00
tsutsui 1e70b3b673 Add a missing colon in comment. 2001-02-11 17:56:43 +00:00
tsutsui 90fc74c95b space/tab cosmetics 2001-02-11 17:49:08 +00:00
bjh21 a4e55e0f13 Shared ARM ptrace(2) implementation. Mostly the same as the arm32
version, but with some #ifdefs for arm26.

Also, don't define PT_STEP, since we don't implement it.  This should
reduce code size a little.
2001-02-11 17:03:04 +00:00
pk 203c10194b Supply a kernel link script that puts `etext' at the end of all
read-only sections. Modelled after a similar change in the i386 port.
2001-02-11 16:16:58 +00:00
bjh21 9826a76781 Common <arm/reg.h> (and hence common struct reg) for ARM.
This is theoretically backward-incompatible on arm26, but GDB doesn't work there
yet anyway.
2001-02-11 14:51:55 +00:00
bjh21 60af6ce7ca Don't trust function return to restore IRQ disable flag, since it won't
in APCS-32.
2001-02-11 14:46:11 +00:00
mycroft d3f45f8053 Update to the current state of the world. 2001-02-11 10:40:51 +00:00
is 15d041fe54 Be a bit more helpful in the error case. 2001-02-11 09:54:48 +00:00
eeh c269f4f002 Add COMPAT_SVR4_32. 2001-02-11 01:00:51 +00:00