Remove bootloader.asm (#1072)

This commit is contained in:
wborgeaud 2023-06-04 19:17:58 +02:00 committed by GitHub
parent 1d804e46cc
commit 55b29cacf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 16 deletions

View File

@ -23,7 +23,6 @@ pub(crate) fn combined_kernel() -> Kernel {
include_str!("asm/bignum/mul.asm"),
include_str!("asm/bignum/shr.asm"),
include_str!("asm/bignum/util.asm"),
include_str!("asm/core/bootloader.asm"),
include_str!("asm/core/call.asm"),
include_str!("asm/core/call_gas.asm"),
include_str!("asm/core/create.asm"),

View File

@ -1,15 +0,0 @@
// Loads some prover-provided contract code into the code segment of memory,
// then hashes the code and returns the hash.
global bootload_contract:
// stack: address, retdest
// %stack (address, retdest) -> (address, after_load_code, retdest)
// %jump(load_code)
PANIC // TODO
global bootload_code:
// stack: code_len, retdest
PANIC // TODO
// stack: code_hash, retdest
SWAP1
JUMP