Commit Graph

203211 Commits

Author SHA1 Message Date
matt
b5e6df8ad4 Suppress a GCC 4.5 warning. 2011-07-20 13:21:12 +00:00
matt
22e9efb140 Flash is only 16MB in size. 2011-07-20 13:20:26 +00:00
macallan
33f3feb81b add per ivec event counters 2011-07-20 12:06:00 +00:00
tsutsui
3984c9c934 Fix thinko. src/sys/conf/mkldscript.sh requires $OBJDUMP, not $ELF2AOUT.
(note generated faked a.out kernels can still be loaded and work fine)
2011-07-20 12:00:04 +00:00
hannken
9f9c02f1cd Even though msdosfs never truncates file names it advertises _PC_NO_TRUNC
as zero.  Make it advertise one (no_trunc == true).

Names longer than NAME_MAX (255) will never pass namei() btw.

Fixes PR #43670 (msdosfs claims support for filenames longer than {NAME_MAX},
                 but fails)
2011-07-20 11:52:00 +00:00
macallan
d1b2ece17f some malloc() -> kmem_alloc() 2011-07-20 10:39:43 +00:00
dholland
fcfbc606bf Include system headers before private headers. Avoids various possible
symbol conflicts.
2011-07-20 07:04:30 +00:00
jruoho
0ead7c269a Xref delay(9) and kpause(9) with each other. 2011-07-20 05:20:54 +00:00
matt
209eb0ffe5 Add missing v7fs kmods for 4xx and booke 2011-07-20 04:47:30 +00:00
cliff
5df0d50bb7 replace 'nor_manufacturer_t' with 'struct nor_manufacturer' 2011-07-20 03:42:55 +00:00
mrg
9a4bfc2852 re-generate various files after dl_iterate_phdr has been enabled. 2011-07-20 00:53:53 +00:00
enami
b246d08e78 Build v7fs module on all architecture rather than only on i386. 2011-07-19 23:13:31 +00:00
jmcneill
3f30fc7ae5 add irmce 2011-07-19 21:02:23 +00:00
cliff
b9c1425819 add TNF copyright 2011-07-19 20:52:10 +00:00
tron
64edb24382 Use howmany() macro as it is used in a lot fo places in this tool anyway
as suggested by Tsugutomo Enami.
2011-07-19 19:57:54 +00:00
matt
99897c9ffb Add no config netbsd-sd0a 2011-07-19 19:57:26 +00:00
matt
20306c0f96 Add nor support
Add netbsd-sd0a
2011-07-19 19:57:02 +00:00
matt
4a1462f7b0 Fix missed change of BUS_DMA_NOCACHE to BUS_DMA_DONTCACHE. 2011-07-19 19:55:23 +00:00
christos
07bae9d010 define<tab> 2011-07-19 19:46:42 +00:00
tron
7c3e16079b Build 7th Edition(V7) File System. 2011-07-19 19:46:38 +00:00
christos
923df92137 document all the notes we know about in a consistent fashion.
XXX: someone please document the checksum tags.
2011-07-19 19:46:13 +00:00
christos
442d0c330c don't produce diagnostics for GNU tags 2011-07-19 19:45:36 +00:00
tron
11677c694e Fix weird hardware address assignment that GCC 4.5 complains about. 2011-07-19 19:42:27 +00:00
tron
002854c3cf Add "v7fs" kernel module. 2011-07-19 19:19:39 +00:00
tron
caeab679ca Build 7th Edition(V7) File System as a kernel module. 2011-07-19 19:19:09 +00:00
joerg
29d01baadc Allow cross-compiling from Linux 2011-07-19 18:29:41 +00:00
dyoung
977de72089 Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.

Mark acorn26/bus.h obsolete.
2011-07-19 16:05:09 +00:00
dyoung
d368bbb820 Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.

Mark acorn32/bus.h obsolete.
2011-07-19 15:59:51 +00:00
tron
b6fc69b436 Fix remaining SSP build issues if GCC 4.5 is used. 2011-07-19 15:59:01 +00:00
dyoung
3a45360b72 Change <machine/bus.h> to <sys/bus.h> throughout. 2011-07-19 15:55:26 +00:00
dyoung
86b5be6e94 Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.

Mark dreamcast/bus.h obsolete.
2011-07-19 15:52:29 +00:00
dyoung
43c66b76fa Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.

Mark evbsh3/bus.h obsolete.
2011-07-19 15:44:52 +00:00
dyoung
9edf49b047 Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.

Mark hpcarm/bus.h obsolete.
2011-07-19 15:37:38 +00:00
dyoung
03ff1df734 Straggler from last: bus.h -> bus_{defs,funcs}.h. 2011-07-19 15:31:44 +00:00
dyoung
f48d88bf58 Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.

Mark hpcsh/bus.h obsolete.
2011-07-19 15:30:51 +00:00
dyoung
b7d02abb50 Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.

Mark mmeye/bus.h obsolete.
2011-07-19 15:17:20 +00:00
dyoung
543fc45004 Mark zaurus/bus.h obsolete. 2011-07-19 15:12:26 +00:00
dyoung
5410d57726 Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
2011-07-19 15:11:49 +00:00
dyoung
3e88083cc0 Make shark/bus.h obsolete. 2011-07-19 15:08:55 +00:00
dyoung
703fe5ba82 Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
2011-07-19 15:07:42 +00:00
jmcneill
54696cabe9 irmce module glue 2011-07-19 12:23:51 +00:00
jmcneill
561615354d add driver for SMK eHome Infrared Transceiver 2011-07-19 12:23:04 +00:00
manu
4b1fc9a3f7 Make sure libperfuse still builds on netbsd-5.1 2011-07-19 07:29:39 +00:00
jruoho
1800bfee36 Regen. 2011-07-19 06:53:50 +00:00
jruoho
b9016579bc Add E3C EC168 DVB-T adapter. 2011-07-19 06:52:33 +00:00
dholland
0d0aaf26a0 Remove nonexistent include directory from CPPFLAGS.
PR 45068 from Henning Petersen.
2011-07-19 03:30:46 +00:00
dholland
dc7a4b1c8f Remove spurious trailing slash; PR 45067 from Henning Petersen. 2011-07-19 03:07:09 +00:00
mrg
2a978aa626 merge the common CPPFLAGS and HOST_CPPFLAGS. put -DGENERATOR_FILE
into HOST_CPPFLAGS, and remove the hacky list of files to build
with it.  this matches what the real GCC build does, and fixes build
problems seen on OSX.
2011-07-19 01:37:59 +00:00
jym
ca453df649 Add a simple test case to check executable mapping rights for mprotect(2).
- provide an exec_prot_support() routine so $ARCH can indicate whether
it supports execution protection or not, and skip test accordingly.

- have a trivial 'return_one' shellcode to copy anywhere in a page, and
call it. The decision to keep the assembly solution is mine, reasons are
twofold:

   - all pure-C implementations cannot be controlled easily:
     bounds detection (beginning/end) of return_one is unpredictable,
     or requires the use of overkill solutions like libelf. Using
     dlsym(3) was a good proposal, however I can't use it to know the
     end address of the payload. It makes copying of the shellcode a bit
     more difficult: using a constant may be too small (code has not been
     entirely copied, and can lead to errors that can be erroneously
     detected as "test passed"), or too big (depending on where it is mapped
     in memory, copying past the end of the function may trigger SIGSEGV).

   - I have to ensure that the resulting assembly is the most compact
     possible, especially as it will be reused to test other parts of
     memory (stack, data, rodata, etc.).

Only i386 and amd64 are implemented so far. Others will come in due time.
FWIW, writing the exec_prot_support() callback and the return_one payload
should be enough. Writing callback requires good knowledge of the platform,
depending on chip revision, CPU, board, MMU... the protection level may vary.

Current files are put under lib/libc/arch/* and lib/libc/common/. Feel free to
move them around the tests/ tree. Keep in mind that the common/ and arch/ code
will be used outside of libc, so please do not hide them too deep in the tree.

I checked a few architectures via build.sh cross-compile, and will keep an
eye on buildbot for potential build breakage. Feel free to contact me in
case you see any, of course.
2011-07-18 23:16:08 +00:00
tron
12aec09384 Re-enable v7fs support in the tools version of "makefs" after the
issues have been fixed by Alan Barrett. Tested under Mac OS X.
2011-07-18 22:52:37 +00:00