Commit Graph

202360 Commits

Author SHA1 Message Date
mrg
4f89948c93 - fix the path for GCCARCH and GCCARCH
- force DEVPHASE to "release"
-
2011-06-24 05:27:57 +00:00
mrg
0c1f7b8a8f look in the right path for auto-host.h 2011-06-24 05:26:06 +00:00
mrg
04291615b1 look in the right path for defs.mk. 2011-06-24 05:25:24 +00:00
kiyohara
8c5cebf6f7 Fix broken stack. The r4 points cpu_info in ddb_trap. (not test) 2011-06-24 03:53:46 +00:00
mrg
d186a20caf add a README to describe how to port GMP build framework, and a script
to parse the GMP ./configure output and generate part of a makefile.

move all the mpn build stuff into the MD part of the framework, and
update the amd64 port to build all the parts it should.

XXX: amd64 build fails to preprocess redc_1.asm gcd_1.asm mod_1_4.asm,
XXX: so we're using the generic C versions for now.
2011-06-24 03:50:23 +00:00
rmind
c59e31527c amap_copy: fix one more regression, thanks to enami@. 2011-06-24 01:48:43 +00:00
yamt
90a297503a pmap_map_ptes: fix a bug introduced by rmind-uvmplock merge 2011-06-24 01:39:41 +00:00
rmind
7be1d60258 Fix uvmplock regression - a lock against oneself case in amap_swap_off().
Happens since amap is NULL in uvmfault_anonget(), so uvmfault_unlockall()
keeps anon locked, when it should unlock it.
2011-06-24 01:39:22 +00:00
yamt
fa43ee9ddc uvm_anon_release: fix a locking error after the rmind-uvmplock merge 2011-06-24 01:23:05 +00:00
christos
bfb07aa1f2 Always use our own align macro and explain a bit more why this is bogus. 2011-06-24 01:10:31 +00:00
rmind
538c69f6e6 amap_pp_adjref: fix regression, spotted by nonaka@. 2011-06-24 01:03:08 +00:00
matt
da247cc47d Turn on PAX_ASLR 2011-06-24 00:48:46 +00:00
matt
65bd0920b3 Allow PAX_ASLR to be used by itself. 2011-06-23 23:42:43 +00:00
christos
2fa13d153a Don't give out information about processes we can't control. 2011-06-23 22:50:53 +00:00
wiz
57d979b352 Quote minus so it does not become a dash. 2011-06-23 20:54:24 +00:00
matt
c0b4eeb495 Redo how the pte_*wire* inlines work. Now pmap.c makes no assuming about
what type pt_entry_t.  It can now be a scalar or a union/struct.
2011-06-23 20:46:15 +00:00
rmind
6398a253c4 Clean-up, add asserts, slightly simplify. 2011-06-23 18:15:30 +00:00
matt
11f078c849 When printing the interrupt string, be like the other driver and do
"alc0: interrupting at msi 1" instead of "alc: msi 1".
2011-06-23 17:42:46 +00:00
rmind
df10270871 uvmfault_anonget: clean-up, improve some comments, misc. 2011-06-23 17:36:59 +00:00
christos
281288535e From Aleksey Cheusov: Don't make it easy for compromised systems to bypass
ASLR protections by providing the mapping addresses of programs to everyone.
2011-06-23 17:06:38 +00:00
jruoho
769cd829a3 Note some long-term difficult goals. 2011-06-23 16:56:07 +00:00
rmind
aade7fc010 pmap_map_ptes: use cpu_load_pmap() to handle i386 PAE case.
Spotted by cherry@
2011-06-23 16:25:09 +00:00
riz
fa44c6496c Remove a noisy debugging printf that triggers on bigendian platforms.
(Reported upstream as well)
2011-06-23 16:12:36 +00:00
riz
e917779be7 Document additional settings for onpanic, from options(4). 2011-06-23 16:02:20 +00:00
riz
e9fc2b6f06 Attempt to improve the documentation of ddb.onpanic, from options(4). 2011-06-23 15:57:11 +00:00
nakayama
493fed0c2e No need to repeat checking want_resched then call preempt() in
T_AST case, so check it only once.
2011-06-23 13:39:40 +00:00
nonaka
6f01a46fa3 Remove noneed platid_match() in consinit(). 2011-06-23 12:40:32 +00:00
nonaka
bbac5da847 Delete unused define. 2011-06-23 12:38:02 +00:00
mrg
2dfe08e57e fix some more paths for GCC 4.5. 2011-06-23 12:16:36 +00:00
nonaka
9b9b39b926 Added __packed define to be able to use eMbedded Visual C++ for building hpcboot.exe. 2011-06-23 12:16:03 +00:00
mrg
51c8ec53ea make this work with mknative-gcc:
- libgcc.mvars only depends upon config.status/Makefile, not any built thing
- copy the unwind.h creation rule into a separate target, just for mknative-gcc
2011-06-23 12:11:24 +00:00
mrg
b9124e5a28 make this build on amd64.
XXX: need to confirm that all the objects are built but this is
XXX: enough to make GCC happy.
2011-06-23 12:09:30 +00:00
mrg
eecc4c450e don't try to declare alloca() (wrongly) on netbsd. 2011-06-23 12:07:41 +00:00
mrg
f6f68342e6 cast a uint8_t * to a char * for a function that takes char *. 2011-06-23 12:07:00 +00:00
mrg
68a31119f2 output stuff to the right libiberty dir for gcc 4.5. 2011-06-23 12:06:32 +00:00
mrg
8049a32395 fix a bunch of paths to look in the right places for gcc 4.5. 2011-06-23 11:47:12 +00:00
nonaka
c66a1ac524 Don't check DISK_INFO_FLAG_CHS_UNCERTAIN.
Because DISK_INFO of SD on windows mobile 5 is reported it.
2011-06-23 11:38:24 +00:00
nonaka
f4e16f1522 Reduced the use of the magic number. 2011-06-23 11:28:53 +00:00
kiyohara
94e3285b5f Fix bit name ISR_UB. Not _UE.
And add comments for bit names from datasheet of PXA255.
2011-06-23 11:26:22 +00:00
nonaka
2f7d2050f8 set PXA2X0_I2C_BASE to sc->sc_addr in the correct position. 2011-06-23 10:56:03 +00:00
matt
6f0eba90a5 Make sure to include "opt_multiprocessor.h".
Add missing ). (spotted by uebayashi@)
2011-06-23 08:11:56 +00:00
jruoho
849fd36f5e Fix bug pointed out by njoly@. 2011-06-23 08:10:35 +00:00
matt
610c6a55ae Add pmap_tlb_asid_check and use it verify asid handling.
The shared pmap is now in a state that mips could switch to it.
2011-06-23 07:58:19 +00:00
wiz
1602815d7b Sort sections, fix typos. 2011-06-23 07:47:40 +00:00
wiz
38dbd1c41d Fix typos, sort sections. 2011-06-23 07:47:22 +00:00
matt
c79d75041e Use new names for the pmap_syncicache routines 2011-06-23 07:45:24 +00:00
matt
a523fdee41 Separate code out from pmap_tlb.c which handles the synchronization of the
icache across CPUs.
2011-06-23 07:43:19 +00:00
matt
ffa4fdffea Add pmap_md_tlb_info_attach prototype. 2011-06-23 05:50:24 +00:00
mrg
64f6248066 get this some what working with GCC 4.5. i at least have managed to
get crtstuff and libgcc to build for amd64, and have linked and tested
/bin/sh with all these GCC 4.5 compiled part.
2011-06-23 05:42:37 +00:00
matt
79492abbce Cleanup comments in pmap_tlb.c. Attach tlb evcnts.
eliminate ti_mask
Cleanup some of the MP code.  Conditionalize shootdown code.
2011-06-23 05:42:27 +00:00