rmind
d3cb55ca37
Add m_ensure_contig() routine, which is equivalent to m_pullup, but does not
...
destroy the mbuf chain on failure (it is kept valid).
2013-01-19 00:51:52 +00:00
matt
6459287701
Remove a KASSERT that is no longer valid (no restricted to only coherent
...
memory).
Fix c&p error for a !RCVMAGIC bus_dmamap_sync PREREAD.
2013-01-19 00:35:24 +00:00
matt
40300a6dc4
Fix __HAVE_MM_MD_CACHE_ALIASING case to use UVM_KMF_COLORMATCH so that
...
uvm returns a page of the correct color.
2013-01-19 00:27:34 +00:00
matt
9f074daa45
Switch from only UVM_PGA_STRAT_ONLY to UVM_PGA_STRAT_FALLBACK in
...
arm_pmap_alloc_poolpage.
2013-01-19 00:15:09 +00:00
tsutsui
45be9f97eb
Handle ddb symbol table loaded by the native bootloader properly.
...
- add a function that check if the symbol table is loaded and
return the table size (taken from sun3/sun3/locore2.c)
- calculate end of symbol table address in locore.s
- call ksym_addsyms_elf() with proper args
2013-01-18 18:41:12 +00:00
jakllsch
317b05d381
gdisk 0.7.2 finally introduced a Linux Basic Data partition GUID.
2013-01-18 17:43:35 +00:00
kiyohara
5e9997a36a
Fix KASSERT() in biodone(). Clear BO_DONE in writedisklabel().
2013-01-18 14:04:16 +00:00
jmcneill
e655df5337
if doing #ifdef INET, you need opt_inet.h!
2013-01-18 13:45:51 +00:00
skrll
9132b105db
Print the frame pointer for each level and don't print the registers
...
within the frame by default. Provide a '/f' flag to get the full trace.
Discussed with matt@
2013-01-18 07:34:39 +00:00
matt
beae54ff5a
Contain support routines used to create and destroy lists of physical pages
...
from lists of pages or ranges of virtual address. By using these physical
maps, the kernel can avoid mapping physical I/O in the kernel's address space
in most cases.
2013-01-18 06:42:16 +00:00
matt
7f6d9a714f
Use structure initializers.
2013-01-18 06:21:12 +00:00
msaitoh
a732e89cbe
Change for non MBR disk (PR#47463):
...
- Check each mbrp_type field in fdisk partition table in MBR to know whether
a sector is really MBR or not. Same as MI subr_disk_mbr.c
- Check whether each number in a partition table is out of bound or not.
Same as MI subr_disk_mbr.c
- Update d_packname and d_npartitions if we found any partitions.
- Currently, the exended partitions is not supported...
2013-01-18 02:46:30 +00:00
jmcneill
4e6066b555
make this work with lockdebug. while here, set urtwn_debug=0 now that
...
USB_DEBUG implies URTWN_DEBUG
2013-01-18 01:41:07 +00:00
pooka
aa8c5f6e4d
Helps ELF platforms if I spell __ELF__ correctly ...
2013-01-17 23:21:20 +00:00
pooka
549ee191c9
bump version for recent portability fixes
2013-01-17 21:53:14 +00:00
pooka
da698c0c16
regen
2013-01-17 21:31:11 +00:00
pooka
6f7f25db9f
Include rumpuser_port.h in rump_syscalls.c when compiled for librumpclient
2013-01-17 21:30:30 +00:00
pooka
90b354b7c2
For non-NetBSD, assume leading underscore with !__ELF__ (fixes PE-COFF)
2013-01-17 21:12:39 +00:00
matt
4ffdc4bda5
Add a separate bool to indicate a symbol table has been loaded.
...
ksym_initted indicates whether the kmutex has been initted or not.
Add __cacheline_aligned to the kmutex.
2013-01-17 14:36:36 +00:00
tsutsui
c9074a0efd
Make loadfile() accept OMAGIC a.out binary.
...
LUNA's ROM monitor assumes it.
2013-01-17 14:20:06 +00:00
matt
46c82f8bb3
Make sure a USB small memory fragment is a multiple of the cache line size.
...
(since CACHE_LINE_SIZE defaults to 64, for most instances this won't result
in any code changing).
2013-01-17 06:24:44 +00:00
matt
1610ae547d
Cortex needs ._dmamap_sync_post for BUS_DMASYNC_POSTREAD
2013-01-17 01:32:02 +00:00
macallan
e473c7377e
don't draw blanks by hand, use the blitter instead
2013-01-17 01:10:52 +00:00
jmcneill
3b76243a75
calc_timer_factors: use supplied ints_per_sec, not hz, when calculating
...
counter frequency.
2013-01-16 23:27:05 +00:00
matt
075e272fa0
On Cortex, speculative loads can cache lines to be populated after then they've
...
been invalidated for a DMA read. So after the DMA read we have to reinvalidate
them again. We have to both invalidates since the former prevents dirty lines
overwriting just DMAed data.
2013-01-16 22:32:45 +00:00
pooka
a0e33ce1e2
Do the protocol consistency check hack only when compiling ELF.
2013-01-16 21:10:14 +00:00
macallan
1483daf6ab
copy data in 32bit chunks whenever alignment permits
...
-> very noticeable speedup
2013-01-16 20:34:10 +00:00
macallan
72eb09896d
fix some bit #define, now the name actually makes some sense
2013-01-16 20:32:24 +00:00
christos
ea85f34323
fix misplaced paren
2013-01-16 17:18:55 +00:00
tsutsui
c59be8f8b3
Add UFS2 support. Also bump version.
2013-01-16 15:46:20 +00:00
christos
ed929c1db1
don't wait for completion if we were interrupted.
2013-01-16 15:36:49 +00:00
tsutsui
2379d33ecb
Enable and add ls command for ufs.
2013-01-16 15:15:01 +00:00
msaitoh
394ebb1bff
Set resource limit. The rnd_process_events() function is called every tick
...
and process the sample queue. Without limitation, if a lot of rnd_add_*()
are called, all kernel memory may be eaten up.
2013-01-16 06:45:24 +00:00
jmcneill
a04b60d0f0
MPU_* registers are not valid for OMAP3, so restrict access to them to
...
OMAP2 boards.
2013-01-16 03:30:48 +00:00
macallan
8760ecba75
implement right to left and bottom to top blits, now scrolling works right
...
in all directions.
while there, fix the xor mask for the cursor attribute - now it's actually
inverted
2013-01-16 00:09:27 +00:00
christos
2cd0e7e17d
Don't do the xfer once, wait till it is done. I did not find this, someone
...
else did. Fixes slow devices such as scanners.
2013-01-15 23:57:13 +00:00
christos
e930df039f
fix the fix of the fix of the format string.
2013-01-15 17:45:05 +00:00
tsutsui
457b347382
Make the default disklabel (for disks without label) have saner value.
...
I.e. use d_secperunit for RAW_PART rather than 0x1fffffff for part a.
2013-01-15 17:23:39 +00:00
hannken
33458e7a0a
netbsd32_posix_spawn_fa_alloc: use the right length for path allocation.
...
This error lead to memory pool corruption when freeing kmem with wrong size.
2013-01-15 17:14:11 +00:00
jmcneill
2326b56f19
add kernfs and procfs, support BEAGLEBOARD.local
2013-01-15 13:52:26 +00:00
kiyohara
5b3bbee673
cpu_switchto() returns argument oldlwp. Not &ci->ci_curlwp.
2013-01-15 13:43:27 +00:00
kiyohara
890122a30c
Add macro _C_LABEL() for .S file.
2013-01-15 13:30:12 +00:00
mbalmer
07ef3c56e4
Fix a debug printf format.
2013-01-15 10:41:57 +00:00
martin
5cd4dadf69
Make this compile with TRAPDEBUG enabled.
...
Pointed out by Holm Tiffe.
2013-01-15 10:18:38 +00:00
christos
cb08540c31
fix printf formats
2013-01-15 04:02:56 +00:00
msaitoh
af75f30ef5
Fix off-by-one read error.
2013-01-15 03:39:16 +00:00
christos
f86f2aa199
don't use kprintf() directly, it does not lock so it just garbles the output.
2013-01-15 03:24:00 +00:00
pooka
d95e8f23bb
fix debug printf formats
2013-01-14 20:21:32 +00:00
christos
acaeb16fdc
regen
2013-01-14 18:24:14 +00:00
christos
42039c0dcf
PR/47447: YAMASHIRO, Jun: New device id for udl(4)
2013-01-14 18:24:05 +00:00