mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-05 09:46:36 +08:00
62fdc75d2d
It is currently possible to run the idle experiment, and it can raise and catch exceptions, but exceptions are not yet propagated across RPC boundaries.
23 lines
589 B
C
23 lines
589 B
C
#ifndef __KLOADER_H
|
|
#define __KLOADER_H
|
|
|
|
#define KERNELCPU_EXEC_ADDRESS 0x40400000
|
|
#define KERNELCPU_PAYLOAD_ADDRESS 0x40420000
|
|
#define KERNELCPU_LAST_ADDRESS (0x4fffffff - 1024*1024)
|
|
#define KSUPPORT_HEADER_SIZE 0x80
|
|
|
|
extern long long int now;
|
|
|
|
int kloader_load_library(void *code);
|
|
|
|
void kloader_start_bridge(void);
|
|
int kloader_start_idle_kernel(void);
|
|
int kloader_start_kernel(const char *name);
|
|
void kloader_stop(void);
|
|
|
|
int kloader_validate_kpointer(void *p);
|
|
int kloader_is_essential_kmsg(int msgtype);
|
|
void kloader_service_essential_kmsg(void);
|
|
|
|
#endif /* __KLOADER_H */
|