diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 17:27:19 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 17:27:19 -0500 |
| commit | dad25544802de6d4cd839f5d6d5753ad7faeef97 (patch) | |
| tree | ac60308829c163689c47da059d5de14296d81f4e /samples | |
| parent | bdef578a578177ce95c01fa061a028292556ecbe (diff) | |
chore: update general specs and citation file, breaking project structure changes as well.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'samples')
| -rw-r--r-- | samples/.keep | 0 | ||||
| -rw-r--r-- | samples/asm/exit_nekernel_abi.asm | 10 | ||||
| -rw-r--r-- | samples/asm/return_5_rax.asm | 4 | ||||
| -rw-r--r-- | samples/cxx/example.cc | 16 |
4 files changed, 0 insertions, 30 deletions
diff --git a/samples/.keep b/samples/.keep deleted file mode 100644 index e69de29..0000000 --- a/samples/.keep +++ /dev/null diff --git a/samples/asm/exit_nekernel_abi.asm b/samples/asm/exit_nekernel_abi.asm deleted file mode 100644 index 6f69a00..0000000 --- a/samples/asm/exit_nekernel_abi.asm +++ /dev/null @@ -1,10 +0,0 @@ -%bits 64 -%org 0x40000000 - -public_segment .code64 __ImageStart - xor rax, rax - mov rcx, 1 ;; syscall id - mov rdx, 0 ;; arg1 - syscall ;; exit - mov rax, rbx - ret
\ No newline at end of file diff --git a/samples/asm/return_5_rax.asm b/samples/asm/return_5_rax.asm deleted file mode 100644 index 82c0320..0000000 --- a/samples/asm/return_5_rax.asm +++ /dev/null @@ -1,4 +0,0 @@ -public_segment .code64 __ImageStart - ;; rax is the return value register. - mov rax, 5 - ret
\ No newline at end of file diff --git a/samples/cxx/example.cc b/samples/cxx/example.cc deleted file mode 100644 index e74acbb..0000000 --- a/samples/cxx/example.cc +++ /dev/null @@ -1,16 +0,0 @@ -#define main __ImageStart -#warning test macro warning #1 - -int bar() { - auto yyy = 17800; - return yyy; -} - -int foo() { - int arg1 = bar(); - return arg1; -} - -int main() { - return foo(); -} |
