summaryrefslogtreecommitdiffstats
path: root/sys/tools/makeobjops.awk
Commit message (Collapse)AuthorAgeFilesLines
* Restore the comment that I removed by accident.ed2011-11-091-0/+1
| | | | The comment still applies to this block of code.
* Simplify the code emitted by makeobjops.awk slightly.ed2011-11-091-6/+1
| | | | | | Just place the default kobj_method inside the kobjop_desc structure. There's no need to give these kobj_methods their own symbol. This shaves off 10 KB of a GENERIC kernel binary.
* Make kobj_methods constant.ed2011-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These structures hold no information that is modified during runtime. By marking this constant, we see approximately 600 symbols become read-only (amd64 GENERIC). While there, also mark the kobj_method structures generated by makeobjops.awk static. They are only referenced by the kobjop_desc structures within the same file. Before: $ ls -l kernel -rwxr-xr-x 1 ed wheel 15937309 Nov 8 16:29 kernel* $ size kernel text data bss dec hex filename 12260854 1358468 2848832 16468154 fb48ba kernel $ nm kernel | fgrep -c ' r ' 8240 After: $ ls -l kernel -rwxr-xr-x 1 ed wheel 15922469 Nov 8 16:25 kernel* $ size kernel text data bss dec hex filename 12302869 1302660 2848704 16454233 fb1259 kernel $ nm kernel | fgrep -c ' r ' 8838
* Rename default to default_function, for compatibility with GNU awk.emaste2009-10-221-7/+7
| | | | (For cross-compiling out-of-tree kernel modules, for example.)
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+2
|
* Pass doxygen doc comments through to the output.dfr2004-07-111-8/+33
|
* Remove advertising clause from University of California Regent's license,imp2004-04-071-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* Changes for new SMP-safe kobj method dispatch algorithm.dfr2003-10-161-2/+6
|
* Use mv -f. Otherwise if you accidently build as root, and then as a user,obrien2002-08-201-2/+2
| | | | | | it keeps asking you if you want to overwrite it or not. Submitted by: peter
* Awk version of makeobjops.PL.obrien2002-05-011-0/+485
Note the invocation ordering is slightly different: awk -f makeobjops.awk foo.m -ch Submitted by: Oliver Fromme <olli@fromme.com>
OpenPOWER on IntegriCloud