23 Commits
Author SHA1 Message Date
Robin 4892e84bae fs: update afero to v1.8.1 (#103)
In afero v1.6.0 the FromIOFS type was added [1], which
facilitates interopability with the fs.FS interface of
the Go standard library.

To support afero.FromIOFS in eggos, afero was updated
to the latest version.

Note: the afero.Fs interface has been updated since v1.4.0
to include the Chown method. As such, the logger, mount
and smb file system types were updated to include the Chown
method.

In particular, the fs/logger.logger, fs/mount.MountableFs and
fs/stripprefix.fs file system types have been updated to include
Chown.

However, as of yet, a stub implementation of Chown exist for the
smb.Fs file system type.

[1]: https://pkg.go.dev/github.com/spf13/afero#FromIOFS
2022-02-10 22:32:54 +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
cm.d 5527749f7e Add Cowsay App (#89) 2021-11-08 10:18:19 +08:00
fanbingxin 9b479c46e8 app: add examples for egg command (#77) 2021-08-08 01:17:02 +08:00
icexin 64d01fd290 app: fix prometheus 2021-08-05 01:08:49 +08:00
icexin 72a71dda10 split out app module 2021-08-01 15:32:04 +08:00
icexin 6927344f30 app: fix import path 2021-07-31 16:48:25 +08:00
icexin 32b2c1a891 app: add prometheus support 2021-07-31 16:48:11 +08:00
icexin a2fac43358 log: add leveled log 2021-07-31 16:02:33 +08:00
icexin 76ea462f21 sys: move sys to kernel/sys 2021-07-31 13:45:52 +08:00
icexin fc66b96c46 add drivers dir 2021-07-29 20:27:27 +08:00
icexin 6da6de9b23 rename uidemo 2021-07-19 22:53:36 +08:00
icexin 1ea769050a add support for go version >= 1.14 2021-07-18 23:59:24 +08:00
fanbingxin 0f1e218bdd catch panic on app (#41) 2021-07-17 16:10:03 +08:00
fanbingxin 3d2d31957e add cmos clock (#37) 2021-07-16 00:36:44 +08:00
fanbingxin 9ce873764b change cursor (#34) 2021-07-15 02:24:17 +08:00
fanbingxin 2f01c06418 add keyboard input (#33) 2021-07-15 01:16:51 +08:00
fanbingxin 2edf569d88 add mouse and gui (#32)
add ps2 mouse and https://github.com/aarzilli/nucular as gui framework

update #10 
update #11
2021-07-14 23:48:40 +08:00
fanbingxin a10ba64344 add fpu support (#31) 2021-07-11 21:23:25 +08:00
fanbingxin 67afb27908 add cpuinfo command (#14) 2020-10-24 17:15:19 +08:00
icexin 08db80651b add chdirfs 2020-10-11 00:40:56 +08:00
icexin 6244c7a506 add ls and cat 2020-10-10 23:54:07 +08:00
icexin 14d754421b init 2020-10-08 15:20:03 +08:00