History log of /netbsd-src/sys/arch/mips/include/mips_param.h (Results 1 – 25 of 52)
Revision Date Author Comments
# 50d90726 04-Oct-2021 andvar <andvar@NetBSD.org>

remove duplicate the article in comments.


# b1b36fc1 31-May-2021 simonb <simonb@NetBSD.org>

Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE is
referenced since some sources include <machine/param.h>.


# 43445bef 23-May-2021 mrg <mrg@NetBSD.org>

fix "uname -p" on mips n32.

this has been returning "mipsn64eb" on my edgerouter4 with the
32 bit uname binary.

introduce o32, n32, and n64 versions of MACHINE_ARCH, and use
them appropriately in P

fix "uname -p" on mips n32.

this has been returning "mipsn64eb" on my edgerouter4 with the
32 bit uname binary.

introduce o32, n32, and n64 versions of MACHINE_ARCH, and use
them appropriately in PROC_MACHINE_ARCH32(). now o32, n32 and
n64 "uname -p" all return different values.

show more ...


# ae706e3c 08-May-2021 skrll <skrll@NetBSD.org>

KNG


# ef373331 26-Apr-2021 christos <christos@NetBSD.org>

Make MACHINE_ARCH for n64 binaries mipsn64e[bl] instead of mips64e[bl] to
differentiate them from n32/o32 binaries.


# bf2324f1 26-Aug-2020 simonb <simonb@NetBSD.org>

Define a UPAGES_MAX constant to size the a md_upte array in MIPS's
struct mdlwp. This is exposed to userland, so we can't use something
based on PAGE_SIZE.


# 370a0b4c 23-Aug-2020 simonb <simonb@NetBSD.org>

Use a 16kB USPACE (and larger kernel stack) for LP64 kernels. Invert
the logic for setting the USPACE size. Define a desired USPACE size
(16kB for LP64, 8kB otherwise) then divide by PAGE_SIZE to g

Use a 16kB USPACE (and larger kernel stack) for LP64 kernels. Invert
the logic for setting the USPACE size. Define a desired USPACE size
(16kB for LP64, 8kB otherwise) then divide by PAGE_SIZE to get UPAGES.

Fixes random segmap lossage, since the uarea usually sits immediately
above the segmap for a process. Thanks to mrg@, skrll@ and dholland@
for testing, debugging and general help tracking down this problem.

show more ...


# 1b968d3c 26-Jul-2020 simonb <simonb@NetBSD.org>

#define<tab>
Nuke trailing whitespace.


# a026ca97 26-Jul-2020 simonb <simonb@NetBSD.org>

Add a space in a comment.


# 31321092 23-Jul-2020 skrll <skrll@NetBSD.org>

Add a comment to CACHE_LINE_SIZE / COHERENCY_UNIT size defines


# f555790d 23-Jul-2020 skrll <skrll@NetBSD.org>

On second thoughts this can't be conditional so define CACHE_LINE_SIZE /
COHERENCY_UNIT as 128 for all mips.


# 0cc06bad 23-Jul-2020 skrll <skrll@NetBSD.org>

Define CACHE_LINE_SIZE / COHERENCY_UNIT as 128 for MIPS64_OCTEON


# 063afa57 19-Jun-2019 skrll <skrll@NetBSD.org>

Whitespace and whitespace consistency


# fea80085 11-May-2019 skrll <skrll@NetBSD.org>

#define<tab> for consistency


# d7e78fcf 11-Jul-2016 matt <matt@NetBSD.org>

Change MIPS to use the common pmap code.
Switch to 8KB pages on CPUs with a R4K MMU.
Simplify cache code.
Merge in most of changes from matt-mips64 branch


# 74c5c005 11-Jun-2015 matt <matt@NetBSD.org>

Use (uint64_t) to avoid 32-bit overflow


# 0e0edb60 11-Jun-2015 matt <matt@NetBSD.org>

Don't include <machine/param.h> in .S files, get the needed values from assym.h
Define NBPG as UL to avoid integer over with NBXSEG on LP64 systems.
(.S files don't like numbers with UL appended to t

Don't include <machine/param.h> in .S files, get the needed values from assym.h
Define NBPG as UL to avoid integer over with NBXSEG on LP64 systems.
(.S files don't like numbers with UL appended to them).

show more ...


# 682a7cdd 07-Jun-2015 matt <matt@NetBSD.org>

assembly no longer include <machine/cpu.h>. Instead MIPS_CURLWP is gotten
from regdef.h and everything else from assym.h. <mips/mips_param.h> no
longer include <machine/cpu.h>


# 3be97503 23-May-2013 christos <christos@NetBSD.org>

add generic copyrights so FreeBSD can use them.


# c97a1e79 01-Feb-2012 matt <matt@NetBSD.org>

Add ALIGNBYTES32/ALIGN32 for netbsd32.


# dd23e710 24-Jan-2012 christos <christos@NetBSD.org>

Use and define ALIGN() ALIGN_POINTER() and STACK_ALIGN() consistently,
and avoid definining them in 10 different places if not needed.


# e8bec33b 20-Jan-2012 joerg <joerg@NetBSD.org>

Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressions
again. This was changed in sys/socket.h r1.51 to work around fallout
from the IPv6 aux data migration. It broke the historic ABI

Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressions
again. This was changed in sys/socket.h r1.51 to work around fallout
from the IPv6 aux data migration. It broke the historic ABI on some
platforms. This commit restores compatibility for netbsd32 code on such
platforms and provides a template for future changes to the CMSG_*
alignment. Revert PCC/Clang workarounds in postfix and tmux.

show more ...


# 329ec0ac 19-Jan-2012 matt <matt@NetBSD.org>

Add ALIGNBYTES32/ALIGN32 (same as ALIGNBYTES/ALIGN).


# 5152fa4e 05-Mar-2011 matt <matt@NetBSD.org>

If _KERNEL is not defined, force MACHINE to be "mips". Userland should be
using uname/sysctl to get this value.


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

Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill Studl

Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU

show more ...


123