History log of /dragonfly/sys/platform/vkernel64/x86_64/cpu_regs.c (Results 1 – 25 of 48)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2
# 80d831e1 25-Jul-2020 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Refactor in-kernel system call API to remove bcopy()

* Change the in-kernel system call prototype to take the
system call arguments as a separate pointer, and make the
contents read-onl

kernel - Refactor in-kernel system call API to remove bcopy()

* Change the in-kernel system call prototype to take the
system call arguments as a separate pointer, and make the
contents read-only.

int sy_call_t (void *);
int sy_call_t (struct sysmsg *sysmsg, const void *);

* System calls with 6 arguments or less no longer need to copy
the arguments from the trapframe to a holding structure. Instead,
we simply point into the trapframe.

The L1 cache footprint will be a bit smaller, but in simple tests
the results are not noticably faster... maybe 1ns or so
(roughly 1%).

show more ...


Revision tags: v5.8.1
# eca1e48f 28-Mar-2020 Sascha Wildner <saw@online.de>

kernel: Remove <sys/mplock2.h> from all files that do not need it.


Revision tags: v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# eb8c4738 02-Nov-2019 zrj <rimvydas.jasinskas@gmail.com>

vkernel64: Reduce <pthread.h> exposure to generic kernel sources.

Implement vkernel_yield() wrapper and use it where needed.


Revision tags: v5.6.2, v5.6.1, v5.6.0
# 588042b5 12-Jun-2019 Sascha Wildner <saw@online.de>

<sys/signal.h>: Adjust the type of stack_t's ss_sp from char * to void *.


Revision tags: v5.6.0rc1, v5.7.0
# bc280c86 31-May-2019 Matthew Dillon <dillon@backplane.com>

vkernel - Adjust use of GDF_VIRTUSER

* Don't clear GDF_VIRTUSER until after exiting the critical section,
otherwise hardclock() will tick sys instead of user.

A user bound program should now sh

vkernel - Adjust use of GDF_VIRTUSER

* Don't clear GDF_VIRTUSER until after exiting the critical section,
otherwise hardclock() will tick sys instead of user.

A user bound program should now show more reasonable values for
user%.

* Scrap some debug counters that are no longer applicable, cleaning
up a few cache line bounces.

show more ...


# 2a7bd4d8 18-May-2019 Sascha Wildner <saw@online.de>

kernel: Don't include <sys/user.h> in kernel code.

There is really no point in doing that because its main purpose is to
expose kernel structures to userland. The majority of cases wasn't
needed at

kernel: Don't include <sys/user.h> in kernel code.

There is really no point in doing that because its main purpose is to
expose kernel structures to userland. The majority of cases wasn't
needed at all and the rest required only a couple of other includes.

show more ...


Revision tags: v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1
# 33b81dc9 30-Sep-2018 Matthew Dillon <dillon@apollo.backplane.com>

system - Add wait6(), waitid(), and si_pid/si_uid siginfo support

* Add the wait6() system call (header definitions taken from FreeBSD).
This required rearranging kern_wait() a bit. In particular

system - Add wait6(), waitid(), and si_pid/si_uid siginfo support

* Add the wait6() system call (header definitions taken from FreeBSD).
This required rearranging kern_wait() a bit. In particular, we now
maintain a hold count of 1 on the process during processing instead
of releasing the hold count early.

* Add waitid() to libc (waitid.c taken from FreeBSD).

* Adjust manual pages (taken from FreeBSD).

* Add siginfo si_pid and si_uid support. This basically allows a process
taking a signal to determine where the signal came from. The fields
already existed in siginfo but were not implemented.

Implemented using a non-queued per-process array of signal numbers.
The last originator sending any given signal is recorded and passed
through to userland in the siginfo.

* Fixes the 'lightdm' X display manager. lightdm relies on si_pid
support. In addition, note that avoiding long lightdm related
latencies and timeouts require a softlink from libmozjs-52.so to
libmozjs-52.so.0 (must be addressed in dports, not addressed in this
commit).

Loosely-taken-from: FreeBSD (wait6, waitid support only)
Reviewed-by: swildner

show more ...


# c90b3c6a 25-Sep-2018 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Adjust vkernel build for builtin changes

* Adjust the vkernel build to be compatible with the
macros changes for bcopy, etc.

* It appears that since e.g. 'bcopy' is a PLT symbol in libc,

kernel - Adjust vkernel build for builtin changes

* Adjust the vkernel build to be compatible with the
macros changes for bcopy, etc.

* It appears that since e.g. 'bcopy' is a PLT symbol in libc,
that I cannot simply create a weak '_bcopy' symbol that
points to it. So this solution is a bit of a hack.

show more ...


Revision tags: v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc
# 6a01f94d 19-Dec-2017 zrj <rimvydas.jasinskas@gmail.com>

kernel/pc64: Mark cpu_type as hardcoded.

We currently mark all x86_64 cpus as CPU_CLAWHAMMER.


# 466d4f43 19-Dec-2017 zrj <rimvydas.jasinskas@gmail.com>

kernel/pc64: Adjust some references to already removed i386.

While there, perform some whitespace fixes.
No functional change.


# 2114fc93 06-Dec-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Fix hw.usermem, hw.physmem, hw.availpages

* Fix the hw.usermem, hw.physmem, and hw.availpages sysctls.
Some of these were improperly 32-bit sysctls when they need
to be 64-bits, causing

kernel - Fix hw.usermem, hw.physmem, hw.availpages

* Fix the hw.usermem, hw.physmem, and hw.availpages sysctls.
Some of these were improperly 32-bit sysctls when they need
to be 64-bits, causing silly values to be returned on
machines with more than 2G of ram.

Reported-by: zrj

show more ...


Revision tags: v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1
# 80776208 10-Sep-2017 Antonio Huete Jimenez <tuxillo@quantumachine.net>

vkernel - Remove 'bootdev' related sysctl.

- This fixes VKERNEL64 build.


# da1e1cb6 06-Aug-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Move sigtramp even lower

* Attempt to work around a Ryzen cpu bug by moving sigtramp even lower than
we have already.


Revision tags: v4.8.1
# 3e925ec2 03-Apr-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Implement NX

* Implement the NX (no-execute) pmap bit.

* Shift sigtramp down to a page-bound and protect it prot|VM_PROT_EXECUTE.

* Map the rest of the user stack VM_PROT_READ|VM_PROT_WRI

kernel - Implement NX

* Implement the NX (no-execute) pmap bit.

* Shift sigtramp down to a page-bound and protect it prot|VM_PROT_EXECUTE.

* Map the rest of the user stack VM_PROT_READ|VM_PROT_WRITE without
VM_PROT_EXECUTE.

show more ...


Revision tags: v4.8.0, v4.6.2, v4.9.0, v4.8.0rc
# 95b4dba2 01-Mar-2017 Sascha Wildner <saw@online.de>

kernel: Remove unused DIRECTIO option (see 12b70cea73eef6a67).


# 12b70cea 27-Jan-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Remove ffs_rawread()

* Remove ffs_rawread(), because we will be removing vmapbuf/vunmapbuf soon
as well (because it isn't safe).


# d6e8ab2d 18-Oct-2016 Sascha Wildner <saw@online.de>

kernel: Remove the COMPAT_43 kernel option along with all related code.

It is commented out in our default kernel config files for almost five
years now, since 9466f37df5258f3bc3d99ae43627a71c1c085e

kernel: Remove the COMPAT_43 kernel option along with all related code.

It is commented out in our default kernel config files for almost five
years now, since 9466f37df5258f3bc3d99ae43627a71c1c085e7d.

Approved-by: dillon
Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2946>

show more ...


Revision tags: v4.6.1
# 1fcff771 07-Aug-2016 Sascha Wildner <saw@online.de>

i386 removal, part 54/x: Remove perfmon(4) remains.

It only ever was compilable into i386 kernels. I forgot to remove it
too in f4c88b0b86f1810db0482795bc097597d1197c54.


Revision tags: v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1
# b90e4ea2 24-Jul-2015 Sascha Wildner <saw@online.de>

i386 removal, part 23/x: Remove i386 specific DEBUG_INTERRUPTS and remains.


Revision tags: v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4
# 5608ef17 03-Mar-2015 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Refactor the kernel message buffer code

* Add a separate tracking index for /dev/klog (syslog) so it does not eat
the base index for the in-memory buffer.

* Change the way the FIFO index

kernel - Refactor the kernel message buffer code

* Add a separate tracking index for /dev/klog (syslog) so it does not eat
the base index for the in-memory buffer.

* Change the way the FIFO indexes work. The indexes are no longer stored
as modulo size values. Instead they are simply adjusted without a modulo,
making calculations easier.

* When the FIFO is full we now add around ~1KB of slop to reduce instances
where SMP collisions implode the buffer. This also required adjusting
the kern.msgbuf sysctl to avoid dumping the 'slop' area (it used to just
dump the entire buffer).

* Adjust dmesg to operate more consistently, and to modulo the indices when
making calculations.

* The dmesg -a option now dumps the <num> prefix for syslog / console output
messages. Before it tried to strip them out, which created problems in
distinguishing kprintf()d output from syslog output.

* Adjust the console tty support thread (which copies the dmesg buffer to the
console) as well as /dev/klog to use the new index methodology.

* It is now possible for the indexes to wrap the buffer multiple times
(between e.g. bufl and bufx), and it obviously makes no sense to try to
dump the overwritten data over and over again, so if indexes get totally
out of whack we reset bufr and bufl as needed to the size of the buffer.

show more ...


Revision tags: v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3
# 52c23ea0 12-Jun-2014 Sascha Wildner <saw@online.de>

kernel: GC never true CPU_DISABLE_SSE checks from x86_64/vkernel64.

It is only an option in i386.

No functional changes.

Reported-by: profmakx


# 98d2b258 12-Jun-2014 Markus Pfeiffer <markus.pfeiffer@morphism.de>

vkernel64: fix compilation after npx mask work


Revision tags: v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc
# 6f25d555 20-Apr-2014 Sascha Wildner <saw@online.de>

Remove support for the IPX and NCP protocols, and for NWFS.

This was on the list for a longer time now. FreeBSD removed it
recently, too. Their commit msg has some more info:

"IPX was a network tra

Remove support for the IPX and NCP protocols, and for NWFS.

This was on the list for a longer time now. FreeBSD removed it
recently, too. Their commit msg has some more info:

"IPX was a network transport protocol in Novell's NetWare network
operating system from late 80s and then 90s. The NetWare itself
switched to TCP/IP as default transport in 1998. Later, in this
century the Novell Open Enterprise Server became successor of
Novell NetWare. The last release that claimed to still support
IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco)
discontinued support for IPX in 2011."

The commit removes support for NCP (NetWare Core Protocol) and
NWFS (NetWare File System) along with it (both gone from FreeBSD
too since a while).

show more ...


Revision tags: v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2
# 7adb15b6 12-Dec-2012 Sascha Wildner <saw@online.de>

Remove upc_{control,register} syscalls and everything that has to do with it.

It's no longer used for anything.

Requested-by: vsrinivas
Approved-by: dillon


# 1918fc5c 24-Oct-2012 Sascha Wildner <saw@online.de>

kernel: Make SMP support default (and non-optional).

The 'SMP' kernel option gets removed with this commit, so it has to
be removed from everybody's configs.

Reviewed-by: sjg
Approved-by: many


12