Artifact
62fd1bfe97dfd2f741f8c43d1c888577661c1913d55113f0f050ba7fe433e7cb:
Manifest of check-in
[62fd1bfe97]
- Fix _start to properly find the environment.
The arguments and environment are directly on the initial stack, which means
that more work is needed to find the start of the environment properly. Also
remove the hack in _boot that made it work if there were no arguments, as all
of the math is being done in _start now.
by
glowpelt on
2020-01-05 17:52:15.
C Fix\s_start\sto\sproperly\sfind\sthe\senvironment.\nThe\sarguments\sand\senvironment\sare\sdirectly\son\sthe\sinitial\sstack,\swhich\smeans\nthat\smore\swork\sis\sneeded\sto\sfind\sthe\sstart\sof\sthe\senvironment\sproperly.\sAlso\nremove\sthe\shack\sin\s_boot\sthat\smade\sit\swork\sif\sthere\swere\sno\sarguments,\sas\sall\nof\sthe\smath\sis\sbeing\sdone\sin\s_start\snow.
D 2020-01-05T17:52:15.665
F arch/arm.lin.64/error_table.h 991d95c3d63d53e94333fd6b0fefa4417e6acf2c4f9a9e65403f782492a27517
F arch/arm.lin.64/posix.h 4a7813cd60562795c01b02a03219347b96e04ce85f98f48b1aaf82647035073c
F arch/arm.lin.64/system_calls.h 922c4040112588fb0ff4426bfd61dd83b73a6311005d414c01a305de8a45a6e1
F arch/mktbl.linux.sh 29c25e24bdbddfb0a450e755f73d88af96f0fc15149b3a793580de29cee3b236 x
F arch/posix.h 1bb8ef8aa2dc40b8f58621acb22c6b3d2863fe9eeec5774ed1c9656d302ba52a
F arch/readme.md 45fed8e393ebfaa75a59f9d1bc1949f9a6be11856135df34315ad0a6bfe9f2b2
F arch/typesize.c 6b637ac5749d2749428a9e9196b766660b3b1e1f5b3af717c6b799d3c2cc4d01
F arch/x86.cdecl.64.s f85b8be23e5c491210e649909df647d0360800d75b96eadfcca2ebcd344ad51d
F arch/x86.fbsd.32/cdecl.s 66f33449ab7323f72d2362c40b99aa33810d0f00b63ab03a53d97188d2247fc5
F arch/x86.fbsd.32/posix.h 676bf370924920efc78d003b3f03847854613475852fb144c2236619a7e80a4e
F arch/x86.fbsd.32/syscall.s fb0cced6daf404495ba79fe0412e229efcab21d7ec02d1031c054f3ec6b7b563
F arch/x86.fbsd.64/cdecl.s dab764aed21301b1238b0124d9b7c75f479e43ebfde73b4d5764af2916080b64
F arch/x86.fbsd.64/posix.h 676bf370924920efc78d003b3f03847854613475852fb144c2236619a7e80a4e
F arch/x86.fbsd.64/syscall.s 8f1b90374091c4d4f7478ed3b26bfaba78050c12d71a07e2ac065c939f1ae57a
F arch/x86.lin.32/cdecl.s 66f33449ab7323f72d2362c40b99aa33810d0f00b63ab03a53d97188d2247fc5
F arch/x86.lin.32/error_table.h 991d95c3d63d53e94333fd6b0fefa4417e6acf2c4f9a9e65403f782492a27517
F arch/x86.lin.32/posix.h 4a7813cd60562795c01b02a03219347b96e04ce85f98f48b1aaf82647035073c
F arch/x86.lin.32/syscall.s 30df0fa7c9616df43483640c345f19989918075b4840b830aa6b32fe787f4533
F arch/x86.lin.32/system_calls.h def82548cd0b642fef5be0453f91c081abe1aa37880c2477de04833da329b8fd
F arch/x86.lin.64/cdecl.s 92abebdccc7079c68c468da16feb22a39b5a4f557397f42c719b8347dab497b8
F arch/x86.lin.64/error_table.h 991d95c3d63d53e94333fd6b0fefa4417e6acf2c4f9a9e65403f782492a27517
F arch/x86.lin.64/posix.h 4a7813cd60562795c01b02a03219347b96e04ce85f98f48b1aaf82647035073c
F arch/x86.lin.64/syscall.s b719b03db7c7a44f273636a2d9993b861cbba64f3ce7e7e38cfcb238828f75ad
F arch/x86.lin.64/system_calls.h f473cb9533e76556a3052bf6ad6c74039440f2f93c297b9d620d8bbf3a8fad72
F arch/x86.syscall.64.s 43eb022a8601bb14ab4aadf9c6c4643c2bca2ba26ce57c0629b4c90a6ee7389f
F build.sh 4e982ff1442a0f8f6a90cd3299e346d68da66b97a67d8566c0ea262a9d9c3033 x
F clean.sh 92c5183668c1cdbaa0d6a76bfbc106df1dc86c647ec497696290f9e6709e939a x
F default.nix 79b823a4d8b677b6a1ffead14eb8c008cbb97c3a13b0a28a3efa060f282254ac
F dist/libk.nix ce494d8fd7b1e86a39f79098c5085b563a71507ee52f5abd06e45e1a6b5364fc
F global/build-id.sh 45c1076b3a230859fbd6c97a7d2ff6aca8c24ed808d41fec8fc53e260e9f0d09 x
F global/build-manpage.sh 8cac5483dcbb580a113401ad33e162bc9f319c8d048a96331fc92a10efbeea08 x
F global/common.sh 582c735deb9789100aec4ff1bb404d5fdb8d127dc4ec6f948d0af104444733bb x
F global/gen-conds.awk d4ceed024ed0ee5506dcb23b6e06fbadf0de41bf1cff3f5b7a5a53ffe271a53e
F global/gen-ident.awk 730afca5a3c325d85c54c68c4100b6527f6cc774cf09d830e59cc8ffc62d4fbf
F global/modules 4da066f23541fd859a41029f599929501e19639f4f962a3548ed533c1ed2b6ed
F install.sh b7dc8d033fa58f76623e9a58e4fd3faed47d7de14876da5d9e2620a05a446a4a x
F legacy/arch.makefile ce87fe2fb7c8232ad615d9599530d2886dff464e3b5bba5bfbba230adcd2e9fb
F legacy/exit.fn.x86.lin.32.s 4c4a17d7b6e1c790f576ee8f3eee2decf68e19f3c3f3aad6f7c301f794350463
F legacy/exit.fn.x86.lin.64.s c7202f2e83eeb399d5272ad2c12e2760dcdf8b36bbdaeaa5308bcb2bf4d8ed60
F legacy/kbuild.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kconf.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kcore.makefile e2db22ecce5503e65be813ac9e51a81ceadcc65a0d389db672ffd2b7fe7bf114
F legacy/kcore/def.fbsd.i 4373f0187ee3cfed3a85dff0609073d28a5b34a8c274c8c273d603c9c7589445
F legacy/kcore/def.h 074eb1cc6bddc0057a3f2cc90d0ff089c31f7b3772c6c6523882a80cbd487878
F legacy/kcore/def.h.m 9c53671363f8bd16dccac70593d5ea05c59bf8b0fef1ea0478a37201e76eb579
F legacy/kcore/def.lin.i 0178d496a490b8d686631e3b06bfcc2646fea65f087e949fffabed694ce7df92
F legacy/kcore/def.win.i 11ccc3c2e7b89c77ee2e478665d2e6c7745dc9e023058d4d7fddb82b04dc6a7f
F legacy/kcore/type.h.m def2d33e25802b43b161b58336fb24342017fcad73a92f89c9469a76c02836d7
F legacy/kcore/type.x86.32.i fe891b76db82e5b5abce1c21b0e4d37fb4e819188ee84e32e464e07d1e505614
F legacy/kcore/type.x86.64.i 03a8b8f372d43b0ed173bb4f786cd92b40e627628bc832037b03f05090e13c03
F legacy/kdb.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kdbg.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kfile.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kgraft.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kio.makefile 86c8f24ac7f54c36a28403ac4d4d0ff9d0bba96d86a84a7142fa3e5293cf8c1d
F legacy/kiostream.posix.i 0c9356948c024185a085561dfe7933b468e338bc6dbfe63fc9ce7eba7f282398
F legacy/kmem.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kmsg.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/knet.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/knum.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kproc.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kstr.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/kterm.makefile f0df06fe050175bdde0c000793d2258421bdb0a003e9dbbd42f669228e53b600
F legacy/legacy.makefile f9a6a3944e9d12582ec92010b5c7457590cd7cc94b9b9d776c6416785eac6aff
F legacy/makerule 9a8f61d2caa148f804917a7072e49e51d7f427b2f325d471db9ed7fdc1434613
F legacy/modmake 2d5c92fb6a4f64547835f868df5264215825fdf2da20fc04c2df02a5dd2854a4
F legacy/platform.mmap.fn.x86.lin.64.s a05b3cdd12778d15cd61568730de4070aa5f53e0ab93e9a3c48f60567bf8be38
F legacy/platform.munmap.fn.x86.lin.64.s 7b471fc2763ddad3ae989da3d74b38ef0b08f08ee0631c3dc5ab1e875e162051
F legacy/posix_fd_write.fn.x86.lin.32.s 7b77d86bab7f48031f13da57a6c82704ff521f8e2b19a320e726e8e2445de5ab
F legacy/posix_fd_write.fn.x86.lin.64.s b72b3eff18c68ca937b7c3a0ddbaedcecf60fea906d406b6a6b53da186ece86b
F libk.md 2a5151f96181c9698d21894546a21000c5be4e6aab0dd30ce201870b225c06d8
F mod/kbuild/kbuild.md a7d1456a88066831daacfd19e937a6afa57e4b16c85d4338cc065971e7326e42
F mod/kcli/cli.h fa27906c88b8c7d258dfbd925c18d97b4f7d72f1321c3b54aff5ec6db84b1b74
F mod/kcli/kcli.md 5e7f6f38ddd81ec25fd6594dddcc6db97dc9b314fc1544b9ed492378351b0a28
F mod/kcli/parse.fn.c ff83a12d45e53f6352b810fa948387edc8fa27ac3e812b79ac198731e3ceb07d
F mod/kcli/testbin.exe.c 92e78f74004e6792eedaf24d7d0af6e687ed4d193a1c8b3d5a4e93fb7382a3df
F mod/kcli/usage.fn.c 51bd833f8905d28591cd1263ed8252dae6ff5da61c37eb21b81b6bb74e9c35c4
F mod/kconf/kconf.md 6e72a9b7624ddff5fee8df5c9ae68de2bb77aa46542a802383888692615cb09b
F mod/kcore/__stack_chk_fail.fn.c 7f5547f66a401fd068f2d18d11f58001dccc29b40eed9a70d2c363923de7cbb4
F mod/kcore/boot.rt.c 298efe44680263177f1965ae2eea0db3fa632ab4d10a0d89c0a2ca63b139b8db
F mod/kcore/boot.rt.x86.lin.64.s 78d762a0b4b2e67c31f5690a0eb362d180882dd637f86c996ef7798c58ab6780
F mod/kcore/core.h 4054dd1b64c83ac11059ff7b205c14fc8764a2582d966df424ddf022832308b8
F mod/kcore/def.h.m 2981fff8c9357d10da11041be9140bae05e94ee2524f15abd6ac9f00143a1b34
F mod/kcore/explain.fn.c 97dcae51953ede0a749207eff0df724319d3bb1c8eb8c9c8c43f2396b72040e0
F mod/kcore/kcore.md a74f6a96750eda30d298dd301b801c23364be72302163f9902b5e0a2f0ccc635
F mod/kcore/magic.h 2cde04fb072ac58ba60f1f20e1f7063a3267b2f3c9d765309a83a27849fbedc1
F mod/kcore/okay.fn.c 4f2723020743992824557d3f6abb8ccc082d0e3c5ed3d62ffb031f7680a7b690
F mod/kcore/platform.syscall.fn.c f22252d79e64640cb442dc81dc3c11889e0af344b6f916027246e54a3c928438
F mod/kcore/stop.fn.c 62a3920f4e2cd30336a29938f8f38b54c3ab0b0ccf17ae2a0031bbb68489df50
F mod/kcore/syscall.fn.x86.lin.32.s 78de3835981e61238893adac9381fbd5737667645a52f4917b61e5f367bffbb2
F mod/kcore/syscall.fn.x86.lin.64.s 3fa83c18de5c59b00b6eb74593685eded355b45ab903ef1cb2c5c8a573ae36bc
F mod/kcore/testbin.exe.c b799b010e351e173ba67f44c019f4201559bc48718a085c0e78b4697956b97e5
F mod/kcore/type.h.m 3822f60b11cac987fc1f8102aca0388c9a452d9135ca8454d087801731f38a9c
F mod/kdb/kdb.md 1c2867c8a987d1b69c0b2ce331a4480770c0611e09ac92ee7eb145e0ce7d2642
F mod/kdbg/dbg.h 8bdd73759a7a8c8d4fdd73bdd1286cdc03283e82396e058608e35e9f04fbd217
F mod/kdbg/kdbg.md 7320047f34631e46afa2bef1bce203ea7b368c2bbae7c1007f0794ef38fd034e
F mod/kfile/file.h a786627a56da502b486375366d1e6195f3f77da38c344ba9597e1c8955698b79
F mod/kfile/kfile.md e76252504c90ccb2dc1f1bbe32fbcfde6c5a2124934e6c61400a947c1eb45180
F mod/kgraft/attach.exe.c 572a9007909c0804fe2cc01ecbad2035c6f1983a01c17f736c3a46c83537ae6b
F mod/kgraft/graft.h fb28754f18c089de5918e31d498de2c709fee39d53a70f84df49abb42f5e7d3c
F mod/kgraft/kgraft.md 74aca3ba503d6486fae96d83487b365acb4e1b5acbb8f813d47915404edaf520
F mod/kio/io.h.m 03256457ffba46b442d7546a2ba10cc5de8d9bb65e291b611cac73ae772b2f5c
F mod/kio/kio.md 947bccad055256718472df98b1d152f846493870eee927d83557c3bab34aac1b
F mod/kio/send.fn.c 9e8cd30a43bba1f078b3611ff86c1c8458f89e906c3e7c45c674f86e1ceafb5c
F mod/kmem/free.fn.c bac849b7fff41e4ec703f5bc29c79000fd0dfe60be7be2b0cd805591fc0e2335
F mod/kmem/heapa.fn.c 14fc9d1a27deafb8623bc347f59c8ac92655d27506ac1092b4f60497da9e31e6
F mod/kmem/heapf.fn.c a8a4c98c3ac68298f8e0e745a2abd34f6e6d50d4e2facad408f9d8bcfa20b408
F mod/kmem/heapo.fn.c 5d74e5db6e44d0d510daee5debd523127223d0436504e92721fdd4894fb8086d
F mod/kmem/kmem.md 35f7501adf700acccd76b264ac6c53f5695c44b011d9812fa03a8c1a54b4fcbf
F mod/kmem/lina.fn.c 5feb3edaf1c8d441f0f1a1bf464e909ada55d12a689f2bb919106ad8d476166b
F mod/kmem/lini.fn.c 537b55b516caf32a8402bc47641c275c11c3c569f147ed1d1c9d8397767c1d36
F mod/kmem/mem.h 0dc09a3b20091368de425ebc0e7f9d49f1ef29bb673ea9bcdfc42f51749f729a
F mod/kmem/zero.fn.c 73ad1fc159586ffaffaea4c1f260feff397e322f98634fe9ee38b9a94e5ec462
F mod/kmsg/kmsg.md 9e287dbaef5ee3dbcba110f250d8089f2b0994dd7246430405e3031c15ed021e
F mod/kmsg/msg.h 11e70058799aa5c4ecb84e2d367d95d329f4ec1db4892dc3a9ae2c8fa1a5b0ef
F mod/knet/knet.md caaca9de66163c9fcafa0c4df218de9339c7ea653ad7da12505cdf2ebd1dfd17
F mod/knet/net.h 2dd21f521dede77aedfd0b17ef3112ef5876fd418d019e1c7645838d4e0ad44d
F mod/knum/knum.md 608a5247b22c6a44095abf2005263ec50f1493c100f1d461331301ca01e7087c
F mod/knum/num.h 91c37b49e7b092e39543e8670930015ad15524e63fd034f2f33070a5bbd88f3e
F mod/kproc/kproc.md 4efe5a2b89432f9e1d3f26d9daa4684bd7362c7c457b5cb34ec0504e25bb978c
F mod/kproc/proc.h 23532f29b4fa6685eab4410e3293271757bdc11d6a0d3dee54c7a339de382213
F mod/kstr/bufflush.fn.c 45cb80b779db32a5b540ac2216b1692c95f71f083053a3a37080184d4c9818cf
F mod/kstr/bufmk.fn.c 25e9d731b6809c3e429110ccd417e02702f16ee16fae9f8065fd2ee822a39c53
F mod/kstr/bufput.fn.c 32dbad642352a0b04fb72a15ca1c6c28f5b76c791f5d81ab989bb53aacf93d72
F mod/kstr/bufwrite.fn.c 564ff21d8548c2e99badcc34d595fafa63f495e2aa69a590beea33b0326f2c51
F mod/kstr/emitc.fn.c 0654040df9d84109f99feedbeb146cca5db51bb39944fb2ed262a7b191fcb55b
F mod/kstr/ks_to_int.c 4a1030ebc96ed69268d3f0b75b38fb3976f3f05990a1c1f6e939373986bccab0
F mod/kstr/kssz.fn.c a254af4df57ef3f8e88d0e5c4ce88ad396338f8e1343825d0dffecf37c4089c2
F mod/kstr/kstr.md 0b0860371c0a55e57d26623352c38841dc7b2cdb3ea2b3427639ec27637463fe
F mod/kstr/scp.fn.c 214672f460b0ff58b6110faa63fe47e58378c0b2a878915d77777068786c1d22
F mod/kstr/str.h 48272504c45dae776c8387ea049d7f0037cb18f98b75aebb3d42e4b3573a7990
F mod/kterm/kterm.md 5df0db1632fe5701ed65cb09d890fb4fc8c95ab33aba01cdf070a4d9694841a0
F mod/kterm/term.h 7961166852e92a549ced1b7c7f98e1dc1f23b8d94904760079070389a7cee8cf
P de2d78ff77d578848244122231a20ef6384e6affce4b5fa2477d991d2b3ee102
R dc0b04c59bd6354b4a576fcb0c2be507
U glowpelt
Z 3412ce32a73e993f513d2c5edfb11184