Commit Graph

94634 Commits

Author SHA1 Message Date
thorpej
c915b880c5 The 80321 manual lies; it does have a CPU ID distinct from the 80200.
Add that CPU ID, and add a case for it.
2002-03-27 01:34:47 +00:00
jmc
93fcfe16c5 Oops...don't check against &0x1 as the address is already even which is the
problem that was being solved in the first place
2002-03-27 00:00:16 +00:00
christos
56a72506f9 nicer printing. 2002-03-26 23:56:45 +00:00
christos
d9d77caa18 PR/16073: Jachym _Freza_ Holecek: Add the ability to list known partition types.
While I am here, KNF a bit.
2002-03-26 23:56:05 +00:00
fredette
0fe578ec56 On the m68000, instead of extracting integer support from
libgcc, use bits from sys/lib/libkern.
2002-03-26 23:19:31 +00:00
fredette
749a99134b When DDB is not defined but Debugger() is anyways, define
console_debugger() to be Debugger().  This is relevant on
the sun2 and sun3, where a monitor is always available.
2002-03-26 23:17:09 +00:00
fredette
23aa52421d No longer assume that !DDB implies that Debugger() isn't defined.
Now only define Debugger() if it isn't defined already.
2002-03-26 23:14:49 +00:00
fredette
ba0d9b105c In the machine-links target, the sun2 also needs a sun68k symlink.
Plan ahead and make it on the sun3 also.
2002-03-26 23:13:08 +00:00
fredette
f3cbb9ef0a Added ${G_CONFIGDIR} to .PATH. This is needed on m68000 so that
libgcc1 gets built.
2002-03-26 23:10:58 +00:00
fredette
a39d5cb13b Note that libhack.o depends on gethost.o, otherwise
the latter won't get built.
2002-03-26 23:09:40 +00:00
manu
fff388471d Added the SETMASK32 command for sigprocmask(2). This is equivalent to
SETMASK except that the upper 32 bits are left untouched
2002-03-26 22:59:32 +00:00
fredette
cbc8e60f5f Added support for stl.mi and a stl.${objfmt} files for each set,
which respectively contain MI and objfmt-specific things associated
with static libraries.  Useful for systems that don't have shared
libraries.  Currently only used by lists/comp/stl.elf.
2002-03-26 22:58:17 +00:00
fredette
58830d68c5 Added brand-new integer multiply and divide support, used only
on the m68000.
2002-03-26 22:49:32 +00:00
fredette
26755e068d Now also build libm68k when MACHINE_ARCH is m68000. 2002-03-26 22:48:04 +00:00
kleink
032762e1e9 On the 601, construct the CPU counter value from the RTC[UL] registers. 2002-03-26 21:50:39 +00:00
matt
12810ed37d Use size_t in prototype (so this will be LP64 clean for PPC64 someday).
Calculate len separately for icache & dcache in case each has different
cacheline widths.  Make the code for both loops the same except for the
dcbst/icbi.  Deal with sizes >=2GB properly (like that'll happen but ...)
2002-03-26 21:20:24 +00:00
thorpej
dde8f75509 Only build pciconf.o if pci is configured. 2002-03-26 19:31:40 +00:00
thorpej
41f47f03e7 Restructure a few things in order to support other XScale core
I/O processors:
* The i80200 and the i80321 have the same CPU ID, so split the
  CPU_XSCALE option into CPU_XSCALE_80200 and CPU_XSCALE_80321
  options, and don't let them both be defined at the same time.
  XXX May want to revisit this in the future.
* Split some registers common between the i80200 and i80321 into
  <arm/xscale/xscalereg.h>.
* Rename a few existing functions.
2002-03-26 19:29:44 +00:00
drochner
fe52be52a6 Add the actual session offset to the volume size. This makes
a) the "df" output not an underestimate (Multisession cd filesystems can
   refer to data in previous sessions)
b) some checks where a block number is compared against the volume size
   succeed - I got mysterious misbehaviour with RR extensions
2002-03-26 19:04:23 +00:00
manu
58537aa4d9 Fixed a typo in DEBUG_IRIX code 2002-03-26 16:58:56 +00:00
manu
a4085df772 - Uses p->p_stats->p_ru instead of p->P_ru to get ressource usage, since
p->p_ru sometime happens to be equal to 0xdeadbeef.

- added more debug output.
2002-03-26 16:38:12 +00:00
christos
5c8e181780 We are not guaranteed that we have enough bytes to get a struct ip from our
mbuf. So if we receive a short packet, that looks like gif we would panic.
Reviewed by thorpej, tested by Kimmo Suominen and Andreas Wrede. Thanks for
the help in tracking this down.
2002-03-26 16:05:03 +00:00
fvdl
edcf4b63ed Fix stack usage for temporary storage. From Stephen Ma in PR xsrc/15404. 2002-03-26 15:17:37 +00:00
isaki
d4e117205d set factor=1/2 even if recording. 2002-03-26 15:05:29 +00:00
fvdl
2f5a2ef5af Start signal stack at -128(%rsp), like the ABI specifies. 2002-03-26 15:02:42 +00:00
fredette
c3d894c1c3 Wait longer for the mouse self-test to complete, otherwise some
faster machines decide that the mouse is broken.
2002-03-26 13:59:10 +00:00
manu
da6e8ccbe8 Don't allocate struct swapent when we only need a struct oswapent. 2002-03-26 11:50:26 +00:00
uch
3b784af7f0 remove MIPS3_L2CACHE_ABSENT option, since R5900 D-cache is 8KB
2-way. no need to worry about virtual aliasing.
2002-03-26 11:06:56 +00:00
uch
9c5fd0f84c change MAXPARTITIONS to 16. 2002-03-26 11:01:45 +00:00
manu
a0fa2e7fa5 Added support for sysmp system accounting structures. Only real memory info
is defined yet, but it returns zeroes (will be fixed later).
2002-03-26 10:54:40 +00:00
manu
2ccdf1d7ec Added truncate(2), ftruncate(2), truncate64() and ftruncate64(), the two latter
being untested yet.
2002-03-26 10:52:52 +00:00
kanaoka
e42f3e3081 Change scan step from 16 to 2, when pxe_init() check the presence of PXE.
This change improve checking the presence of PXE.
2002-03-26 08:02:05 +00:00
chs
23825982c3 add support for SMC 9332DST. 2002-03-26 07:57:16 +00:00
yamt
9e8142572a fix wcsrtombs to restart correctly. 2002-03-26 07:53:38 +00:00
chs
99b5d17961 move some prototypes from tulip.c to tulipvar.h so they can
be used by bus-specific code.
2002-03-26 07:41:40 +00:00
yamt
8468b78b76 move mbrtowc to _amd1 from _c90. 2002-03-26 06:10:27 +00:00
shin
ae418cfcb0 enable NFSSERVER. 2002-03-26 05:26:37 +00:00
mhitch
a0e1b0e0d1 Need to include files.o for the file descriptor table used by open().
The -S flag to indicate secondary boot no longer takes a size - size is
computed from input image.
2002-03-26 05:21:37 +00:00
mhitch
1ae1c48b8f Need to include files.o for the file descriptor table used by open(). 2002-03-26 05:19:39 +00:00
mhitch
2f871ae8a1 Check for referencing undefined symbols, and bail out if there were any.
Change the -S option to just a flag for Secondary boot, and compute size
of bootfile image from the input.  Secondary boot is no longer a fixed size.
2002-03-26 05:18:19 +00:00
lukem
4bd6b3cf5e as this uses libhack, copy in a useful etc/master.passwd rather than
an unused etc/passwd
2002-03-26 01:12:36 +00:00
kleink
7df1d60bab Bump version to note 601 support. 2002-03-26 00:11:54 +00:00
kleink
ccf604db9e Adapt this to the 601's RTC. 2002-03-26 00:03:47 +00:00
thorpej
ef51c9bc83 Back out DEFAULT_SHORT_ENUMS; it's actually causing some real problems,
and we need to come up with a better strategy.

Per discussion with Ben Harris.
2002-03-25 23:26:31 +00:00
thorpej
3964313f67 Fix reporting of the kernel virtual address space range to UVM. 2002-03-25 22:11:12 +00:00
kleink
7e9d845469 * Add MPC601 versions of BAT_VA_MATCH_P() and BAT_VALID_P().
* Make the extern declaration of the battable array incomplete;
  a given port might want to use a differently-sized definition to
  support the 601 BAT implementation, where blocks map up to 8M only.
2002-03-25 21:35:45 +00:00
thorpej
7c7c319cb3 There is no need to use a kthread to read the VIA environment
sensors.
2002-03-25 21:29:58 +00:00
scw
6d5da55a5a Make sysinst the default installer, with the option of falling back
to the old shell-script installer. Based on the sparc dot.profile.
2002-03-25 21:14:32 +00:00
scw
64b9487395 Add MAKEFS_FLAGS, as suggested by Luke Mewburn. This fixes a problem
with a lack of inodes on the miniroot image.
2002-03-25 21:12:51 +00:00
thorpej
b017898534 Get flags passed down to PHY drivers correctly. This was done on
an adhoc basis in a couple of PHY drivers, this fixes it more generally.

Per a discussion w/ Cliff Neighbors <cliff@allegronetworks.com>.
2002-03-25 20:51:24 +00:00