Commit Graph

198513 Commits

Author SHA1 Message Date
phx efac3e47ba Build altboot.img, which fakes a Linux kernel module, loadable with "bootm",
for extremely stripped U-Boot firmware. Arguments are passed through the
"bootargs" environment variable, which is detected automatically when
using bootm.
The startup code also fixes a bug in bootm, which doesn't flush the cache
before running the image.
2011-02-26 20:11:24 +00:00
phx 6a5a0ed53a Add the -O option to set the OS type, which defaults to NetBSD when missing.
This is needed, because some vendors have stripped U-Boot so much that it
only accepts Linux kernel modules.
Also allow 'standalone' as module type.
2011-02-26 20:03:09 +00:00
plunky e9bb66e7cf clean up man files copied during build
also.. while we are putting the pages into different sections,
lets change the manpage contents to reflect that
2011-02-26 19:17:37 +00:00
jakllsch a6c55fbbe4 Enable LIBSA_PRINTF_LONGLONG_SUPPORT.
Useful in any of the cases where we already print a (64-bit) daddr_t.
2011-02-26 18:22:58 +00:00
jakllsch bdf5f7401d Add quad srcs if building x86_64 32-bit libkern. 2011-02-26 18:17:55 +00:00
ahoka 2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
matt 2bf60042d7 When loading r13 and r2 with _SDA_BASE_ and _SDA2_BASE, do so in a PIC
manner.  With this change, simple programs can now run with MKPIE=yes
2011-02-26 17:11:23 +00:00
matt 7fe5f9cb4c Add quad srcs if using MIPS O32 ABI 2011-02-26 16:28:10 +00:00
matt 953a720806 Make sure that sgimips64 can build the O32 bootloaders 2011-02-26 16:26:58 +00:00
tsutsui 3d7fbda8d9 Use mips_fpexcept() instead of fpemul_trapsignal() to deliver SIGFPE,
and remove now unused fpemul_trapsignal() introduced for PR port-mips/26410.

Fixes PR port-mips/35326 and now t_except unmasked tests in
/usr/tests/lib/libc/ieeefp pass.

Note t_subnormal double test still fails as mentioned in PR port-mips/44639.
2011-02-26 15:41:32 +00:00
tsutsui ad8a961da7 Use proper CALLFRAME_FRAME and CALLFRAME_CAUSE macro.
XXX: is it safe to use (CALLFRAME_SIZ + 3*SZREG(sp)) to save FSR?
2011-02-26 15:01:31 +00:00
jruoho 4939599599 Use config_defer(9) for cpu_rescan() in cpu_attach().
Also mark few local functions as static.
2011-02-26 14:43:18 +00:00
tsutsui c267011572 - clear MIPS_FPU_EXCEPTION_BITS in MIPS_FPU_CSR in SIGILL case
as noted in commit log of rev 1.158
- update comment to reflect changes in rev 1.109
2011-02-26 13:58:34 +00:00
wiz 35124272d3 Remove duplicate "the". From Henning Petersen in PR 44640. 2011-02-26 12:56:35 +00:00
tsutsui 08938afcbd Mechanically adapt to new interrupt/spl framework. Untested. 2011-02-26 12:54:41 +00:00
tsutsui 45a7a81b2b Explicitly include <mips/locore.h> for softint_process(). 2011-02-26 12:09:34 +00:00
tsutsui b543d3edb5 Explicitly include <mips/locore.h> for mips_locoresw. 2011-02-26 12:08:30 +00:00
tsutsui 69d0ae1d3d Explicitly include <mips/locore.h> for wbflush(). 2011-02-26 12:07:45 +00:00
tsutsui beb830523e No need to include <mips/locore.h> here. 2011-02-26 12:04:25 +00:00
tsutsui 0a73905435 Use mips_fpuillinst() instead of fpemul_trapsignal() to deliver SIGILL. 2011-02-26 12:02:01 +00:00
tsutsui dbe74b603b Um, it's mips_fpuillinst(), not fpemul_fpuillinst(). 2011-02-26 11:27:59 +00:00
tsutsui 191091a034 Use fpemul_fpuillinst() instead of fpemul_trapsignal() to deliver SIGILL. 2011-02-26 11:16:12 +00:00
tsutsui d26a5ea969 mips_fpu_trap() no longer passes pc to mips_fpuillinst().
Use _R_PC value in trapframe instead for ksi_addr of siginfo.
2011-02-26 11:05:54 +00:00
tsutsui 40434da6a3 - #if DEBUG -> #ifdef FPEMUL_DEBUG
- use __func__ to print function name
- add debug printf()s in mips_fpuexcept() and mips_fpuillinst() too
2011-02-26 10:56:56 +00:00
phx a1b66a73cd Changed satmgr(4) device major number from 100 to 144, which is reserved
for local/vendor use according to src/sys/conf/majors. This prevents
problems when the shared PowerPC device majors list gets another entry.
2011-02-26 09:52:16 +00:00
tsutsui f40a2de6c2 Fix comment about mips_emul_fp() call. 2011-02-26 09:47:24 +00:00
mrg 8816a0ba06 add missing x11-xcb.pc. 2011-02-26 09:27:20 +00:00
skrll 5a6623c3f0 Whitespace. 2011-02-26 07:54:48 +00:00
skrll 08ab7fd006 Add a comment. 2011-02-26 07:53:47 +00:00
skrll 80322835aa (Attempt to) bundle some stw/ldws and remove redundant CR_TLS save. 2011-02-26 07:52:32 +00:00
pgoyette 893492b728 Read instructions...
Don't remove the ssp/h_raw entries, just mark them as obsolete
2011-02-26 05:38:44 +00:00
kiyohara a64b689a43 Include <uvm/uvm_extern.h>.
s/tf->/tf->tf_/.
2011-02-26 05:25:27 +00:00
kiyohara 4ad49e742f s/tf_tf_/tf_/. 2011-02-26 05:23:22 +00:00
pgoyette 7155dfb193 ssp/raw test has been removed. 2011-02-26 02:41:56 +00:00
pgoyette bb1ec3c88c The ssp/raw test is useless. Remove it. 2011-02-26 02:41:33 +00:00
sjg 4fab365c37 Fix rendering of :? example 2011-02-26 01:17:24 +00:00
matt d42a19b052 Don't rely on having a mips64eb toolchain. 2011-02-25 23:37:32 +00:00
phx e1b5cdc215 mkubootimage is certainly useful for sandpoint 2011-02-25 23:29:16 +00:00
yamt 1879cdcf5a mi_userret: disable an assertion for __HAVE_PREEMPTION case as it's racy. 2011-02-25 22:37:12 +00:00
matt 3998b655ea Explicitly make sure TARGET_SECURE_PLT is defined correctly rather than
relying on HAVE_AS_REL16 from "auto-host.h".
2011-02-25 22:36:10 +00:00
yamt 04a6913f3d tprof_start: don't forget to restore refcount when failed to start backend. 2011-02-25 22:35:38 +00:00
jmcneill 6c24ed80e8 make pcictl pci0 list dump all busses by default, unless a bus number is
specified with -b
2011-02-25 21:40:48 +00:00
wiz 20ee1a50dd Bump date for new crypto types. 2011-02-25 21:10:33 +00:00
jruoho 0db13a33ab Comment the coordination types. 2011-02-25 20:59:37 +00:00
martin 0d52446307 Remove xfail for sparc64, alignement issues have been fixed 2011-02-25 20:54:18 +00:00
drochner b4da53f1e6 make the use of SHA2-HMAC by FAST_IPSEC compliant to current standards:
-RFC2104 says that the block size of the hash algorithm must be used
 for key/ipad/opad calculations. While formerly all ciphers used a block
 length of 64, SHA384 and SHA512 use 128 bytes. So we can't use the
 HMAC_BLOCK_LEN constant anymore. Add a new field to "struct auth_hash"
 for the per-cipher blocksize.
-Due to this, there can't be a single "CRYPTO_SHA2_HMAC" external name
 anymore. Replace this by 3 for the 3 different keysizes.
 This was done by Open/FreeBSD before.
-Also fix the number of authenticator bits used tor ESP and AH to
 conform to RFC4868, and remove uses of AH_HMAC_HASHLEN which did
 assume a fixed authenticator size of 12 bytes.

FAST_IPSEC will not interoperate with KAME IPSEC anymore if sha2 is used,
because the latter doesn't implement these standards. It should
interoperate with at least modern Free/OpenBSD now.
(I've only tested with NetBSD-current/FAST_IPSEC on both ends.)
2011-02-25 20:13:10 +00:00
jruoho a080ec141b Start to derive the percpu(9) (or per-domain) state coordination
mechanisms by parsing the _CSD, _PSD, and _TSD objects by default.
2011-02-25 19:55:06 +00:00
tsutsui 1177b3daa4 Fix LOCKDEBUG spin lock held panic on MIPS_CACHE_VIRTUAL_ALIAS CPUs.
Now cobalt boots multiuser, but many programs complains
"clntudp_create: RPC: Program not registered"
as well as R5000 sgimips O2.  Smells virtual cache alias issue around pool...
2011-02-25 19:32:51 +00:00
riz 7559b861a8 Use AUDIO_DEVICE instead of 0 as the minor number for /dev/audio since
0 is incorrect. While I'm here, add /dev/sound, audioctl, and mixer too.

ok pooka@
2011-02-25 19:27:05 +00:00
pooka 4d59265f95 Don't autogenerate a large number of unnecessary device nodes, just
slows bootstrap.
2011-02-25 18:56:20 +00:00