mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-21 07:15:49 +00:00
Update mentions of makesyscalls.lua
It is obsolete and will be removed in a followup commit.
This commit is contained in:
parent
ec86d763d1
commit
913bfd86c1
@ -92,7 +92,7 @@ extern struct sysent linux32_sysent[];
|
||||
#elif defined(FREEBSD32_SYSTRACE)
|
||||
/*
|
||||
* The syscall arguments are processed into a DTrace argument array
|
||||
* using a generated function. See sys/tools/makesyscalls.lua.
|
||||
* using a generated function. See sys/tools/syscalls/README.md.
|
||||
*/
|
||||
#include <compat/freebsd32/freebsd32_proto.h>
|
||||
#include <compat/freebsd32/freebsd32_util.h>
|
||||
@ -106,7 +106,7 @@ extern const char *freebsd32_syscallnames[];
|
||||
#else
|
||||
/*
|
||||
* The syscall arguments are processed into a DTrace argument array
|
||||
* using a generated function. See sys/tools/makesyscalls.lua.
|
||||
* using a generated function. See sys/tools/syscalls/README.md.
|
||||
*/
|
||||
#include <sys/syscall.h>
|
||||
#include <kern/systrace_args.c>
|
||||
|
@ -18,10 +18,10 @@ abi_ptr_array_t="uint32_t"
|
||||
abi_headers="#include <compat/freebsd32/freebsd32_proto.h>"
|
||||
|
||||
#
|
||||
# Variables below this line are exceptions to the ABI changes programmatically
|
||||
# detected by makesyscalls.lua. New system calls should not require an entry
|
||||
# here in nearly virtually all cases. New entries are almost certainly
|
||||
# representative of badly designed interfaces.
|
||||
# Variables below this line are exceptions to the ABI changes
|
||||
# programmatically detected by sys/tools/syscalls. New system calls
|
||||
# should not require an entry here in virtually all cases. New entries
|
||||
# are almost certainly representative of badly designed interfaces.
|
||||
#
|
||||
|
||||
# System calls that require freebsd32-specific handling:
|
||||
|
@ -33,9 +33,8 @@ all:
|
||||
.ORDER: ${GENERATED}
|
||||
sysent: ${GENERATED}
|
||||
|
||||
# We slap a .PHONY on makesyscalls.lua so that we regenerate every single time,
|
||||
# for now, which can be less painful across rebases or other things that may
|
||||
# have odd effects on mtimes.
|
||||
# We slap a .PHONY on MAKESYSCALLS_SCRIPT so that we regenerate every
|
||||
# single time rather than tracking all internal dependencies for now.
|
||||
${MAKESYSCALLS_SCRIPT}: .PHONY
|
||||
|
||||
${GENERATED}: ${MAKESYSCALLS_SCRIPT} ${SRCS}
|
||||
|
@ -58,10 +58,10 @@
|
||||
; - Use u_int and u_long rather than "unsigned (int|long)".
|
||||
; - size_t is allowed.
|
||||
; - typedefs are allowed, but new signed types that vary between 32- and
|
||||
; 64-bit ABIs must be added to makesyscalls.lua so it knows they require
|
||||
; handling.
|
||||
; 64-bit ABIs must be added to config.known_abi_flags in
|
||||
; sys/tools/syscalls/config.lua so it knows they require handling.
|
||||
; - Always-64-bit types other than dev_t, id_t, and off_t must be added to
|
||||
; makesyscalls.lua.
|
||||
; util.is64bitType in sys/tools/syscalls/tools/util.lua.
|
||||
; For pointers:
|
||||
; - Prefer structs to typedefs so an ABI-specific suffix (e.g., "32") can
|
||||
; be prepended (e.g., ucontext_t -> struct ucontext -> struct ucontext32).
|
||||
|
@ -1,6 +1,6 @@
|
||||
# System call creation library
|
||||
Parses `syscalls.master` and packages information into objects with methods.
|
||||
Modules reproduce the previous file auto-generation of `makesyscalls.lua`.
|
||||
Modules reproduce the previously monolithic file auto-generation.
|
||||
|
||||
We generally assume that this script will be run by flua, however we've
|
||||
carefully crafted modules for it that mimic interfaces provided by modules
|
||||
|
Loading…
Reference in New Issue
Block a user