History log of /netbsd/sys/arch/ews4800mips/ews4800mips/machdep.c (Results 1 – 25 of 32)
Revision Date Author Comments
# 0109dae0 01-Nov-2022 andvar <andvar@NetBSD.org>

s/faild/failed/ in comments and messages.


# e3b3a56d 11-Jun-2020 ad <ad@NetBSD.org>

uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched. It can
be called thousands of times a second and fetching th

uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched. It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

show more ...


# c5342c95 31-Dec-2019 ad <ad@NetBSD.org>

Rename uvm_free() -> uvm_availmem().


# 95a9fc32 21-Dec-2019 ad <ad@NetBSD.org>

uvmexp.free -> uvm_free()


# 8ad7f8ea 06-Nov-2017 christos <christos@NetBSD.org>

Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

ARCH_ELFSIZE: the size for userland binaries
KERN_ELFSIZE: the size for the kernel binaries

Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

ARCH_ELFSIZE: the size for userland binaries
KERN_ELFSIZE: the size for the kernel binaries

DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the
same values DB_ELFSIZE used to have.

In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE
for the kernel and ARCH_ELFSIZE for userland. These defaults should
eliminate the need for most manual ELFSIZE setting.

show more ...


# 0dec4042 22-Dec-2016 cherry <cherry@NetBSD.org>

switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.


# 5c166568 24-Mar-2014 christos <christos@NetBSD.org>

use cpu_{g,s}etmodel


# f84f08df 28-Jul-2012 matt <matt@NetBSD.org>

Fix -fno-common fallout.


# 7c050fa3 20-Feb-2011 matt <matt@NetBSD.org>

Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework


# 15939df5 04-May-2010 tsutsui <tsutsui@NetBSD.org>

Fix dumb build errors. Compile test only.


# d621e29e 08-Feb-2010 joerg <joerg@NetBSD.org>

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

show more ...


# 290a34a0 14-Dec-2009 matt <matt@NetBSD.org>

Merge from matt-nb5-mips64
Merge mips-specific arch files.


# 48ec6057 01-Dec-2009 skrll <skrll@NetBSD.org>

Fix build. Hi rmind.


# 3f18fe81 27-Nov-2009 rmind <rmind@NetBSD.org>

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it acce

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.

show more ...


# 11af2f9c 26-Nov-2009 matt <matt@NetBSD.org>

Kill proc0paddr. Use lwp0.l_addr instead.


# b2a95bab 11-Aug-2009 matt <matt@NetBSD.org>

Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and

Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)

show more ...


# 719a906e 30-Nov-2008 martin <martin@NetBSD.org>

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

show more ...


# 94d98572 11-Nov-2008 dyoung <dyoung@NetBSD.org>

It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
r

It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.

show more ...


# b94f79f0 02-Jul-2008 ad <ad@NetBSD.org>

Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.


# 40f5425d 26-May-2008 tsutsui <tsutsui@NetBSD.org>

Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by

Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by MI timecounter(9).

show more ...


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 35023be7 09-Jan-2008 wiz <wiz@NetBSD.org>

Fix typo in macro name and comments.


# d974db0a 17-Oct-2007 garbled <garbled@NetBSD.org>

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the v

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

show more ...


# c896224c 23-Jul-2007 tsutsui <tsutsui@NetBSD.org>

Include <sys/proc.h> explicitly.


# 59a3d07b 02-Jun-2007 tsutsui <tsutsui@NetBSD.org>

Don't try to clear BSS if bootinfo is passed
(i.e. running kernel is loaded by the native bootloader).


12