| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Spotted out by: bde
|
|
|
|
|
|
| |
mcount twice when profiling.
Spotted out by: bde
|
| |
|
|
|
|
|
|
| |
it only remembers if the page is modified or referenced.
Bad review from: cognet
|
|
|
|
| |
code.
|
|
|
|
| |
who wrote the IA64 version of casuword32.
|
|
|
|
| |
ARM_USE_SMALL_ALLOC work.
|
|
|
|
| |
Discussed with: cognet, grehan, marcel
|
| |
|
|
|
|
|
| |
bus_dmamem_alloc later which will overwrite the value, leading to a small
memory leak.
|
|
|
|
| |
Submitted by: Max M. Boyarov <m.boyarov bsd by>
|
|
|
|
| |
Noticed by: Oleksandr Tymoshenko <gonzo freebsd org>
|
| |
|
|
|
|
|
|
|
| |
KERNBASE and VM_MAXUSER_ADDRESS.
Remove the useless include of opt_global.h, as noticed by netchild@ (the one
in arm/elf_trampoline.c is legit, because this file is compiled outside the
kernel, and doesn't use the standard CFLAGS).
|
|
|
|
|
| |
watchdog timer stuff when we boot because the boot blocks are turning
it on...
|
|
|
|
|
|
|
|
| |
whole the physical memory, cached, using 1MB section mappings. This reduces
the address space available for user processes a bit, but given the amount of
memory a typical arm machine has, it is not (yet) a big issue.
It then provides a uma_small_alloc() that works as it does for architectures
which have a direct mapping.
|
|
|
|
| |
Approved by: cognet
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally, I had adopted sparc64's name, pmap_clear_write(), for the
function that is now pmap_remove_write(). However, this function is more
like pmap_remove_all() than like pmap_clear_modify() or
pmap_clear_reference(), hence, the name change.
The higher-level rationale behind this change is described in
src/sys/amd64/amd64/pmap.c revision 1.567. The short version is that I'm
trying to clean up and fix our support for execute access.
Reviewed by: marcel@ (ia64)
|
|
|
|
| |
now back to just being an argument count.
|
|
|
|
|
|
|
|
|
| |
mark system calls as being MPSAFE:
- Stop conditionally acquiring Giant around system call invocations.
- Remove all of the 'M' prefixes from the master system call files.
- Remove support for the 'M' prefix from the script that generates the
syscall-related files from the master system call files.
- Don't explicitly set SYF_MPSAFE when registering nfssvc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
implementations and adjust some of the checks while I'm here:
- Add a new check to make sure we don't return from a syscall in a critical
section.
- Add a new explicit check before userret() to make sure we don't return
with any locks held. The advantage here is that we can include the
syscall number and name in syscall() whereas that info is not available
in userret().
- Drop the mtx_assert()'s of sched_lock and Giant. They are replaced by
the more general checks just added.
MFC after: 2 weeks
|
|
|
|
| |
correctly disassemble instructions on big endian.
|
|
|
|
|
|
|
| |
physical memory, as the vm uses the memory between freemempos and
virtual_avail.
MFC After: 3 days
|
|
|
|
| |
Approved by: cognet
|
|
|
|
| |
Discussed with: cognet@
|
|
|
|
|
|
|
|
| |
The core uart code expects the receive method to actually puts the
characters read into its buffers. For AT91, it's done in the ipend routine,
so also check if we have the alternate break sequence here.
MFC after: 3 days
|
|
|
|
|
|
| |
expects this. If we do not, this could result in wrong checksums.
MFC after: 1 day
|
| |
|
| |
|
| |
|
|
|
|
| |
commit.
|
|
|
|
| |
and call kmem_malloc(), to avoid a deadlock.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce framework to configure the multiplexed pins on boot.
Since the USART supprots RS-485 multidrop mode, it allows the
TX pins to float. However, for RS-232 operations, we don't
want these pins to float. Instead, they should be pulled up
to avoid mismatches. Linux does something similar when it
configures the TX lines. This implies that we also allow the
RX lines to float rather than be in the state they are left in
by the boot loader. Since they are input pins, I think that
this is the right thing to do.
Plus minor for our board.
|
|
|
|
| |
Fix typo in RTC_CALR_MK.
|
|
|
|
| |
board uses a 10MHz base clock. Cope with this difference.
|
|
|
|
| |
resets when the core resets, but there may be some use for it...
|
|
|
|
|
| |
Adapt to forthcoming spi framework. The ioctls for SPI commands and such
belong in the higher level driver.
|
|
|
|
|
| |
comments about timeouts. Fix a style nit. Sometimes small messages
were getting corrupted.
|
|
|
|
| |
Also migrate from MD disk to NFS boot.
|
|
|
|
| |
Submitted by: kevlo
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
install custom pager functions didn't actually happen in practice (they
all just used the simple pager and passed in a local quit pointer). So,
just hardcode the simple pager as the only pager and make it set a global
db_pager_quit flag that db commands can check when the user hits 'q' (or a
suitable variant) at the pager prompt. Also, now that it's easy to do so,
enable paging by default for all ddb commands. Any command that wishes to
honor the quit flag can do so by checking db_pager_quit. Note that the
pager can also be effectively disabled by setting $lines to 0.
Other fixes:
- 'show idt' on i386 and pc98 now actually checks the quit flag and
terminates early.
- 'show intr' now actually checks the quit flag and terminates early.
|
|
|
|
|
|
| |
address is in the userland address space. The proper thing is either to choose
a virtual address in the kernel address space beyond the KVA, or to use
pmap_mapdev().
|
|
|
|
|
|
|
|
|
| |
we're unable to allocate the memory for a PTE, we'll wait until we can. If not,
we'll just return.
Use M_NOWAIT|M_USE_RESERVE to allocate PTEs, it is less aggressive than
M_NOWAIT alone.
Suggested by: alc
|
|
|
|
|
| |
PERIPHERAL B}, as well as direction of GPIO pin. Add defines for all
the pins.
|