Robin
78b167e4f3
kernel: use FLAGS_IF enum for 0x200 ( #105 )
2022-02-16 10:54:28 +08:00
Robin
0bb2d1def6
drivers/{multiboot,vbe,qemu}: add docs ( #102 )
...
* drivers/vbe: add docs
Also, remove unused bootloaderMagic constant. A corresponding constant
is defined in and used by the multiboot package.
* drivers/qemu: add docs
* drivers/multiboot: fix typo; s/DrivesrAddr/DriversAddr/
* all: add go:build comments for Go build tags, as used by Go 1.17
ref: https://go.dev/doc/go1.17#build-lines
This commit was automated using goimports:
find . -type f -name '*.go' | xargs -I '{}' goimports -w '{}'
2022-02-08 22:58:59 +08:00
Robin
296cbe306b
kernel/{,mm,sys}: add docs for asm procedures ( #94 )
2022-02-04 21:06:41 +08:00
Robin
c09e358b5e
kernel/sys: add docs for Go function wrappers of asm instructions ( #93 )
2022-02-04 18:05:37 +08:00
fanbingxin
971efada74
kernel: optimize futex with timeout ( #80 )
2021-08-12 00:33:59 +08:00
fanbingxin
044a5081aa
kernel: add avx support ( #75 )
2021-08-07 22:55:41 +08:00
icexin
738bc20a2b
all: asmfmt
2021-08-03 23:04:00 +08:00
icexin
4e6fe50d87
kernel: fix exit_group
2021-08-03 00:12:37 +08:00
icexin
2fc62b5cb4
kernel: log unhanded syscall
2021-08-02 19:24:03 +08:00
icexin
ed2454045e
kernel: remove unused log
2021-08-02 19:23:09 +08:00
icexin
5824531d7e
fix writeBarrier in syscall clone
2021-08-02 08:52:40 +08:00
icexin
a2fac43358
log: add leveled log
2021-07-31 16:02:33 +08:00
icexin
da213e35c3
debug: move qemu to drivers
2021-07-31 15:45:47 +08:00
icexin
26b01794a2
kernel: fix idle panic
2021-07-31 15:30:32 +08:00
icexin
76ea462f21
sys: move sys to kernel/sys
2021-07-31 13:45:52 +08:00
icexin
631be8a288
kernel: fix epoll missing connect event
2021-07-31 13:42:44 +08:00
icexin
f76da0e0e4
add debug log for socket error
2021-07-30 01:16:24 +08:00
icexin
718be1d777
add env support
2021-07-30 01:08:11 +08:00
icexin
d571314a41
add socket syscall
2021-07-30 00:53:06 +08:00
icexin
fc66b96c46
add drivers dir
2021-07-29 20:27:27 +08:00
icexin
7ba480d229
add kernel command line args
2021-07-29 01:52:09 +08:00
icexin
d6db6d1156
add qemu exit code
2021-07-28 23:22:26 +08:00
icexin
007da7412b
add vdsoGettimeofday for go1.13
2021-07-28 01:29:47 +08:00
icexin
8143b8832c
trap panic stack trace
2021-07-28 00:42:41 +08:00
icexin
394da24efd
kernel panic stack trace
2021-07-28 00:03:36 +08:00
icexin
819d6ec603
add memory guard for thread stack
2021-07-27 22:30:58 +08:00
icexin
6a941b1310
fix pipe
2021-07-27 22:30:43 +08:00
icexin
8d4ebf50aa
move pipe to kernel
2021-07-27 22:16:29 +08:00
icexin
9d7d2d5818
fix madvise
2021-07-27 21:53:47 +08:00
icexin
61c418017d
syscall request error
2021-07-27 01:17:11 +08:00
icexin
95961a62d4
add fpu save and restore
2021-07-27 00:53:36 +08:00
icexin
dc44ded0ef
add multiboot info
2021-07-27 00:43:46 +08:00
icexin
871faf1616
reduce Request size
2021-07-27 00:03:20 +08:00
icexin
d1c7d7d0d6
shell work, left: sleep, socket, multiboot, hlt
2021-07-26 01:19:38 +08:00
fanbingxin
b74627c648
fix vet error ( #53 )
2021-07-21 23:40:54 +08:00
fanbingxin
cd2d9b03bb
store syscall frame in thread to avoid gc scan bad stack ( #51 )
2021-07-20 23:31:52 +08:00
icexin
8d843a86e6
fix env
2021-07-19 03:33:18 +08:00
icexin
1ea769050a
add support for go version >= 1.14
2021-07-18 23:59:24 +08:00
fanbingxin
750372ced9
add sysnum for syscall name ( #43 )
2021-07-18 23:50:15 +08:00
fanbingxin
4813c607d2
print kernel panic ( #42 )
2021-07-18 00:54:44 +08:00
fanbingxin
cb7e2ad678
replace syscall const ( #40 )
2021-07-17 00:41:33 +08:00
fanbingxin
7809b5cf28
sync page cache after mmap ( #39 )
2021-07-17 00:12:25 +08:00
fanbingxin
1d3ce5b19d
fix nosplit ( #38 )
2021-07-16 01:38:33 +08:00
fanbingxin
3d2d31957e
add cmos clock ( #37 )
2021-07-16 00:36:44 +08:00
fanbingxin
5dc320c349
fix mmap nosplit ( #36 )
2021-07-16 00:34:22 +08:00
fanbingxin
a10ba64344
add fpu support ( #31 )
2021-07-11 21:23:25 +08:00
fanbingxin
d4991daabc
add tss, running main on ring3 ( #30 )
2021-07-11 13:56:16 +08:00
fanbingxin
d845bc1cb1
all: format asm file ( #13 )
2020-10-24 17:10:58 +08:00
icexin
9cb12bd0a9
some clean up
2020-10-10 23:22:46 +08:00
icexin
3a3798b29f
cga
2020-10-08 23:49:47 +08:00