History log of /netbsd/sys/arch/ia64/ia64/machdep.c (Results 1 – 25 of 44)
Revision Date Author Comments
# 479e33ad 23-Feb-2023 riastradh <riastradh@NetBSD.org>

ia64: Add missing barriers in cpu_switchto.

(ia64 has never really worked, so no pullups needed, right?)

PR kern/57240


# c7c69cf8 19-Apr-2019 scole <scole@NetBSD.org>

In map_vhpt(), read pmap_vhpt_log2size before any memory translation
instructions to avoid "Data Nested TLB faults" with GCC 7.4.0


# e3f92458 06-Apr-2019 thorpej <thorpej@NetBSD.org>

Overhaul the API used to fetch and store individual memory cells in
userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufe

Overhaul the API used to fetch and store individual memory cells in
userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms. The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

show more ...


# 187e20cf 18-Jan-2019 scole <scole@NetBSD.org>

Add DPRINTF function, use kstack variable for proc0 memory, reorder some functions so ci initialized before use


# dd994234 15-Nov-2018 scole <scole@NetBSD.org>

enable some incorrectly commented-out code


# 8a9cd3e1 14-Nov-2018 scole <scole@NetBSD.org>

- When forking, use own register stack for each thread
- For UAREA, arrange layout same as FreeBSD for now to hopefully
ease porting woes. add some related macros
locore.S is incorrectly assumin

- When forking, use own register stack for each thread
- For UAREA, arrange layout same as FreeBSD for now to hopefully
ease porting woes. add some related macros
locore.S is incorrectly assuming same layout and seems painful
to change bspstore in startup
- use ia64_init_return same as FreeBSD
- change some "printf" to "panic" for incompleted items

context switching is still broken but maybe less so

show more ...


# 0b7f29ab 08-Apr-2017 scole <scole@NetBSD.org>

Add more from FreeBSD


# d461d657 23-Dec-2016 cherry <cherry@NetBSD.org>

"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nic

"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nick Hudson - for testing on multiple architectures and bugfix patches.
Everyone who helped with boot testing.

KeK (http://www.kek.org.in) for hosting the primary developers.

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.


# 40c8a525 14-Mar-2014 cherry <cherry@NetBSD.org>

Tweak the argument order passed to the elf executable entry point (usually "__start"),
so as to make call to the C function ___start() easier from assembler.
We setup the memory stack frame for ___st

Tweak the argument order passed to the elf executable entry point (usually "__start"),
so as to make call to the C function ___start() easier from assembler.
We setup the memory stack frame for ___start(), before calling it.

show more ...


# b2c82e4c 06-Jan-2013 kiyohara <kiyohara@NetBSD.org>

Call main() in locore.S. like other arch.


# 99981cc2 05-Nov-2012 chs <chs@NetBSD.org>

add a stub cpu_mcontext_validate().


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

Remove declartions of physmem


# 154d3024 19-Feb-2012 rmind <rmind@NetBSD.org>

Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.


# 1b1a55d0 01-Oct-2011 chs <chs@NetBSD.org>

fix build errors with gcc 4.5.


# f1146e73 12-Jun-2011 rmind <rmind@NetBSD.org>

Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in

Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

show more ...


# c3454f5a 04-Mar-2011 joerg <joerg@NetBSD.org>

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and conv

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

show more ...


# a09633aa 13-Nov-2010 uebayasi <uebayasi@NetBSD.org>

Typon.


# 9b1505e3 13-Nov-2010 uebayasi <uebayasi@NetBSD.org>

Pull in uvm/uvm.h for vm_nphysseg.


# 04cf143f 10-Nov-2010 uebayasi <uebayasi@NetBSD.org>

Use more VM_PHYSMEM_*() accessors. No functional changes.


# 7418b486 28-Jun-2010 kiyohara <kiyohara@NetBSD.org>

Move identifycpu() into cpu.c. Our cpu* says:
cpu0 at mainbus0: ProcessorID 0, Id 0, Eid 0
cpu0: McKinley (1000.00-MHz Itanium 2)
cpu0: Origin "GenuineIntel", Revision 7
cpu0: Features 0x1


# 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 ...


# 6a9e4e8e 10-Dec-2009 matt <matt@NetBSD.org>

Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
involves setregs and vmcmds). Should result in no code differences.


# 37b2ed09 29-Nov-2009 rmind <rmind@NetBSD.org>

Pass pcb_fpcpu_slock correctly, since pcb0 is a pointer.
Fixes ia64 build (hi matt@).


# 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 ...


12