mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
Various trivial comment fixes
Approved by: re
This commit is contained in:
parent
e973a7af90
commit
46007a41da
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147569
@ -30,7 +30,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Machine dependent interrupt code for i386. For the i386, we have to
|
||||
* Machine dependent interrupt code for amd64. For amd64, we have to
|
||||
* deal with different PICs. Thus, we use the passed in vector to lookup
|
||||
* an interrupt source associated with that vector. The interrupt source
|
||||
* describes which PIC the source belongs to and includes methods to handle
|
||||
|
@ -839,7 +839,7 @@ SYSINIT(apic_setup_io, SI_SUB_INTR, SI_ORDER_SECOND, apic_setup_io, NULL)
|
||||
#ifdef SMP
|
||||
/*
|
||||
* Inter Processor Interrupt functions. The lapic_ipi_*() functions are
|
||||
* private to the sys/i386 code. The public interface for the rest of the
|
||||
* private to the sys/amd64 code. The public interface for the rest of the
|
||||
* kernel is defined in mp_machdep.c.
|
||||
*/
|
||||
int
|
||||
|
@ -661,7 +661,7 @@ SYSCTL_INT(_machdep, CPU_WALLCLOCK, wall_cmos_clock,
|
||||
CTLFLAG_RW, &wall_cmos_clock, 0, "");
|
||||
|
||||
/*
|
||||
* Initialize 386 and configure to run kernel
|
||||
* Initialize amd64 and configure to run kernel
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -201,14 +201,8 @@ ENTRY(fillw)
|
||||
/* copyout and fubyte family */
|
||||
/*****************************************************************************/
|
||||
/*
|
||||
* Access user memory from inside the kernel. These routines and possibly
|
||||
* the math- and DOS emulators should be the only places that do this.
|
||||
*
|
||||
* We have to access the memory with user's permissions, so use a segment
|
||||
* selector with RPL 3. For writes to user space we have to additionally
|
||||
* check the PTE for write permission, because the 386 does not check
|
||||
* write permissions when we are executing with EPL 0. The 486 does check
|
||||
* this if the WP bit is set in CR0, so we can use a simpler version here.
|
||||
* Access user memory from inside the kernel. These routines should be
|
||||
* the only places that do this.
|
||||
*
|
||||
* These routines set curpcb->onfault for the time they execute. When a
|
||||
* protection violation occurs inside the functions, the trap handler
|
||||
@ -592,7 +586,7 @@ ENTRY(copystr)
|
||||
ret
|
||||
|
||||
/*
|
||||
* Handling of special 386 registers and descriptor tables etc
|
||||
* Handling of special amd64 registers and descriptor tables etc
|
||||
* %rdi
|
||||
*/
|
||||
/* void lgdt(struct region_descriptor *rdp); */
|
||||
|
Loading…
Reference in New Issue
Block a user