~yerinalexey

Russia (GMT+3)

https://yerinalexey.srht.site

Compiler guy. I like C, Rust and Go

~yerinalexey/public-inbox

Last active a month ago
View more

Recent activity

[PATCH v5] Put boot code under +x86_64 4 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

---
v4 -> v5: fix check target

 .gitignore                                |   9 +-
 Makefile                                  | 113 +---------------------
 boot/+x86_64/.gitignore                   |   2 +
 boot/+x86_64/Makefile                     | 103 ++++++++++++++++++++
 boot/{ => +x86_64}/boot.s                 |   0
 boot/{ => +x86_64}/cons.ha                |   0
 boot/{ => +x86_64}/elf.ha                 |   0
 boot/{ => +x86_64}/link.ld                |   0
 boot/{ => +x86_64}/main.ha                |   0
 boot/{ => +x86_64}/rt.ha                  |   0
 syslinux.cfg => boot/+x86_64/syslinux.cfg |   0
[message trimmed]

Re: [PATCH v4] Put boot code under +x86_64 4 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

On Sun Oct 2, 2022 at 12:05 PM MSK, Drew DeVault wrote:
> make check does not work

Oops, fixed in v5.

> I also think that the nographic et al targets belong in mk/x86_64.mk
> rather than boot/

Yes, but having targets in mk causes to set 'run' as the default target,
which can be fixed by moving mk/arch.mk's include down, in which case
'all' will break as it uses $(BOOTOUT) from mk/arch.mk.

Not sure what the best solution would be.

[PATCH v4] Put boot code under +x86_64 4 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

---
v3 -> v4: rebase, drop +riscv64 artifacts

 .gitignore                                |   9 +-
 Makefile                                  | 113 +---------------------
 boot/+x86_64/.gitignore                   |   2 +
 boot/+x86_64/Makefile                     | 103 ++++++++++++++++++++
 boot/{ => +x86_64}/boot.s                 |   0
 boot/{ => +x86_64}/cons.ha                |   0
 boot/{ => +x86_64}/elf.ha                 |   0
 boot/{ => +x86_64}/link.ld                |   0
 boot/{ => +x86_64}/main.ha                |   0
 boot/{ => +x86_64}/rt.ha                  |   0
 syslinux.cfg => boot/+x86_64/syslinux.cfg |   0
[message trimmed]

Re: [PATCH v3] Put boot code under +x86_64 4 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

Disregard this patch, I didn't clean artifacts

[PATCH v3] Put boot code under +x86_64 4 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

---
v2 -> v3: rebase

 .gitignore                                |    9 +-
 Makefile                                  |  113 +-
 boot/+riscv64/boot.efi                    |  Bin 0 -> 160640 bytes
 boot/+riscv64/boot.so                     |  Bin 0 -> 236320 bytes
 boot/+riscv64/main.s                      | 7486 +++++++++++++++++++++
 boot/+x86_64/.gitignore                   |    2 +
 boot/+x86_64/Makefile                     |  103 +
 boot/{ => +x86_64}/boot.s                 |    0
 boot/{ => +x86_64}/cons.ha                |    0
 boot/{ => +x86_64}/elf.ha                 |    0
 boot/{ => +x86_64}/link.ld                |    0
[message trimmed]

[PATCH] strings: drop runes() 4 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

How did this even compile?
---
 strings/iter.ha | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/strings/iter.ha b/strings/iter.ha
index 65fc8ec..4688179 100644
--- a/strings/iter.ha
+++ b/strings/iter.ha
@@ -102,18 +102,3 @@ export fn iter_str(iter: *iterator) str = {
	assert(iter.push is void);
	return fromutf8(iter.dec.src[iter.dec.offs..]);
};

[message trimmed]

[PATCH] Drop disk.img 5 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

---
Also requires my previous patch

 boot/+x86_64/Makefile |  15 ---------------
 disk.img              | Bin 4096 -> 0 bytes
 2 files changed, 15 deletions(-)
 delete mode 100644 disk.img

diff --git a/boot/+x86_64/Makefile b/boot/+x86_64/Makefile
index 124ec85..0e4331d 100644
--- a/boot/+x86_64/Makefile
@@ -54,36 +54,24 @@ $(TESTOUT): $(BOOT)/boot.bin $(BOOT)/syslinux.cfg $(VULCAN_TEST) helios
run: $(BOOTOUT)
[message trimmed]

[PATCH v2] Put boot code under +x86_64 5 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

---
v1 -> v2:
* Output {boot,test}.iso into the root directory

 .gitignore                                |   9 +-
 Makefile                                  | 113 +---------------------
 boot/+x86_64/.gitignore                   |   2 +
 boot/+x86_64/Makefile                     | 103 ++++++++++++++++++++
 boot/{ => +x86_64}/boot.s                 |   0
 boot/{ => +x86_64}/cons.ha                |   0
 boot/{ => +x86_64}/elf.ha                 |   0
 boot/{ => +x86_64}/link.ld                |   0
 boot/{ => +x86_64}/main.ha                |   0
 boot/{ => +x86_64}/rt.ha                  |   0
[message trimmed]

Re: [RFC PATCH] Put boot code under +x86_64 5 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

On Fri Sep 30, 2022 at 9:58 PM MSK, Drew DeVault wrote:
> On Fri Sep 30, 2022 at 7:07 PM CEST, Alexey Yerin wrote:
> > Not quite sure if BOOTOUT is a good idea
>
> I think it would be nice to continue outputting the final image(s) to
> the root directory. Otherwise LGTM

I mainly moved the image under boot/+x86_64 to allow building for, say,
both x86_32 and x86_64 without those two images conflicting.
'disk+$(ARCH).iso' might be an option, but creates a mess if other
platforms use different extensions.

[RFC PATCH] Put boot code under +x86_64 6 days ago

From Alexey Yerin to ~sircmpwn/helios-devel

---
Not quite sure if BOOTOUT is a good idea

 .gitignore                                |   6 --
 Makefile                                  | 111 +---------------------
 boot/+x86_64/.gitignore                   |   4 +
 boot/+x86_64/Makefile                     | 103 ++++++++++++++++++++
 boot/{ => +x86_64}/boot.s                 |   0
 boot/{ => +x86_64}/cons.ha                |   0
 boot/{ => +x86_64}/elf.ha                 |   0
 boot/{ => +x86_64}/link.ld                |   0
 boot/{ => +x86_64}/main.ha                |   0
 boot/{ => +x86_64}/rt.ha                  |   0
 syslinux.cfg => boot/+x86_64/syslinux.cfg |   0
[message trimmed]